replace std::shared_ptr to boost::shared_ptr
This commit is contained in:
@@ -23,8 +23,8 @@ unsigned char UnPreferredLayer::interpretValue(unsigned char value)
|
||||
}
|
||||
|
||||
// Export factory function
|
||||
static std::shared_ptr<Layer> create_unpreferred_plugin() {
|
||||
return std::make_shared<UnPreferredLayer>();
|
||||
static boost::shared_ptr<Layer> create_unpreferred_plugin() {
|
||||
return boost::make_shared<UnPreferredLayer>();
|
||||
}
|
||||
|
||||
// Alias cho Boost.DLL (nếu muốn dùng boost::dll::import_alias)
|
||||
|
||||
Reference in New Issue
Block a user