Explorar el Código

Fix size method of Value class

Eric Ramat hace 2 años
padre
commit
82f1160371
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/artis-star/common/Value.hpp

+ 1 - 1
src/artis-star/common/Value.hpp

@@ -158,7 +158,7 @@ public:
   size_t size() const
   {
 
-    assert(is_type<Z>());
+    assert(is_type<Z*>());
 
     return _size / sizeof(Z);
   }