Explorar el Código

修复PythonInterpreterTest一个bug
boost::make_shared<PersonTest> 而不是 boost::make_shared<PersonTestPtr>

tanghai hace 14 años
padre
commit
96d75d8fae
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Cpp/Platform/Python/PythonInterpreterTest.cc

+ 1 - 1
Cpp/Platform/Python/PythonInterpreterTest.cc

@@ -72,7 +72,7 @@ TEST_F(PythonInterpreterTest, EnterPythonScript)
 	interpreter.ImportPath("../../../Cpp/Platform/Python/");
 	interpreter.ImportModule("PythonInterpreterTest");
 
-	auto person = boost::make_shared<PersonTestPtr>();
+	auto person = boost::make_shared<PersonTest>();
 	interpreter.RegisterObjectPtr("person", person);
 
 	ASSERT_EQ(0, person->Guid());