Преглед изворни кода

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

tanghai пре 14 година
родитељ
комит
96d75d8fae
1 измењених фајлова са 1 додато и 1 уклоњено
  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());