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:
Alex Chernyakhovsky
2023-07-30 17:20:33 -04:00
committed by Alex Chernyakhovsky
parent 2224465cc9
commit 38c84a9330
13 changed files with 65 additions and 157 deletions
+2 -2
View File
@@ -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() {};