Removed shared_ptr shim
Since C++17 is now the default mosh version, remove the shared_ptr shim in favor of std::shared_ptr.
This commit is contained in:
committed by
Alex Chernyakhovsky
parent
2224465cc9
commit
38c84a9330
@@ -50,8 +50,8 @@ namespace Parser {
|
||||
public:
|
||||
void setfamily( StateFamily *s_family ) { family = s_family; }
|
||||
Transition input( wchar_t ch ) const;
|
||||
virtual ActionPointer enter( void ) const { return shared::make_shared< Ignore >(); }
|
||||
virtual ActionPointer exit( void ) const { return shared::make_shared< Ignore >(); }
|
||||
virtual ActionPointer enter( void ) const { return std::make_shared<Ignore>(); }
|
||||
virtual ActionPointer exit( void ) const { return std::make_shared<Ignore>(); }
|
||||
|
||||
State() : family( NULL ) {};
|
||||
virtual ~State() {};
|
||||
|
||||
Reference in New Issue
Block a user