Sfoglia il codice sorgente

test: fix compilation warnings caused by constant strings being cast

to char *.
legacy
Sam Hocevar sam 13 anni fa
parent
commit
48b0f20f00
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      test/PhysicObject.h

+ 1
- 1
test/PhysicObject.h Vedi File

@@ -37,7 +37,7 @@ public:
PhysicsObject(Simulation* new_sim, float base_mass, const vec3 &base_location, int RandValue = -1)
: m_ready(false), m_should_render(true)
{
Array<char *> MeshRand;
Array<char const *> MeshRand;

MeshRand << "[sc#add afcb2 2 2 -.1]";
MeshRand << "[sc#dad afcb2 2 2 -.1]";


Caricamento…
Annulla
Salva