Просмотр исходного кода

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

tanghai 14 лет назад
Родитель
Сommit
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());