blueloveTH пре 1 година
родитељ
комит
7de1d4d55a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      include/pocketpy/obj.h

+ 1 - 1
include/pocketpy/obj.h

@@ -146,7 +146,7 @@ struct PyObject final{
 template<typename T>
 inline constexpr int py_sizeof = sizeof(PyObject) + sizeof(T);
 
-static_assert(sizeof(PyObject) == 16);
+static_assert(sizeof(PyObject) <= 16);
 
 const int kTpIntIndex = 3;
 const int kTpFloatIndex = 4;