blueloveTH před 3 měsíci
rodič
revize
eaec4a2a1f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      include/pybind11/tests/module.cpp

+ 1 - 1
include/pybind11/tests/module.cpp

@@ -95,7 +95,7 @@ struct import_callback {
     };
 
     static char* importfile(const char* path) {
-        if(value.empty()) return _importfile(path);
+        if(value.empty()) return _importfile(path, NULL);
         // +1 for the null terminator
         char* cstr = new char[value.size() + 1];