Procházet zdrojové kódy

test: fix compilation warnings caused by constant strings being cast

to char *.
legacy
Sam Hocevar sam před 13 roky
rodič
revize
48b0f20f00
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      test/PhysicObject.h

+ 1
- 1
test/PhysicObject.h Zobrazit soubor

@@ -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]";


Načítá se…
Zrušit
Uložit