Skip to content

Commit 09327b4

Browse files
committed
Fixed shared_ptr replacement in .cpp
1 parent f460a85 commit 09327b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/classmanager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Class& ClassManager::addClass(const std::string& name, const std::string& id)
5656
CAMP_ERROR(ClassAlreadyCreated(name, id));
5757

5858
// Create the new class
59-
boost::shared_ptr<Class> newClass(new Class(name));
59+
std::shared_ptr<Class> newClass(new Class(name));
6060

6161
// Insert it into the table
6262
ClassInfo info;

src/enummanager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Enum& EnumManager::addClass(const std::string& name, const std::string& id)
5656
CAMP_ERROR(EnumAlreadyCreated(name, id));
5757

5858
// Create the new class
59-
boost::shared_ptr<Enum> newEnum(new Enum(name));
59+
std::shared_ptr<Enum> newEnum(new Enum(name));
6060

6161
// Insert it into the table
6262
EnumInfo info;

0 commit comments

Comments
 (0)