mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-22 11:38:12 +05:00
shared_ptr -> std::shared_ptr
This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
This commit is contained in:
@@ -23,7 +23,7 @@ void ReceivingLevelScreen::tick()
|
||||
tickCount++;
|
||||
if (tickCount % 20 == 0)
|
||||
{
|
||||
connection->send( shared_ptr<KeepAlivePacket>( new KeepAlivePacket() ) );
|
||||
connection->send( std::shared_ptr<KeepAlivePacket>( new KeepAlivePacket() ) );
|
||||
}
|
||||
if (connection != NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user