parent
e8bc955023
commit
66599b4ade
|
@ -1525,7 +1525,7 @@ private:
|
||||||
|
|
||||||
// #8262
|
// #8262
|
||||||
void smartPtrInContainer() {
|
void smartPtrInContainer() {
|
||||||
check( "std::list< std::shared_ptr<int> > mList;\n"
|
check("std::list< std::shared_ptr<int> > mList;\n"
|
||||||
"void test(){\n"
|
"void test(){\n"
|
||||||
" int *pt = new int(1);\n"
|
" int *pt = new int(1);\n"
|
||||||
" mList.push_back(std::shared_ptr<int>(pt));\n"
|
" mList.push_back(std::shared_ptr<int>(pt));\n"
|
||||||
|
|
Loading…
Reference in New Issue