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
@@ -424,7 +424,7 @@ static int run_server( const char *desired_ip, const char *desired_port,
|
||||
|
||||
/* open network */
|
||||
Network::UserStream blank;
|
||||
typedef shared::shared_ptr<ServerConnection> NetworkPointer;
|
||||
using NetworkPointer = std::shared_ptr<ServerConnection>;
|
||||
NetworkPointer network( new ServerConnection( terminal, blank, desired_ip, desired_port ) );
|
||||
|
||||
network->set_verbose( verbose );
|
||||
|
||||
Reference in New Issue
Block a user