Skip to content

Commit

Permalink
Fixed missing <memory> include
Browse files Browse the repository at this point in the history
It seems std::shared_ptr used to be included implicitly through
<thread> in older versions of GCC. Not the case now, so this fix is
needed.
  • Loading branch information
luluco250 committed Oct 22, 2021
1 parent f060677 commit 016fb5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RSDKv4/Networking.hpp
Expand Up @@ -2,6 +2,7 @@
#ifndef NETWORKING_H
#define NETWORKING_H
#include <thread>
#include <memory>

extern char networkHost[64];
extern char networkGame[16];
Expand Down Expand Up @@ -41,4 +42,4 @@ void setRoomCode(int code);
void SetNetworkGameName(int *a1, const char *name);

#endif
#endif
#endif

0 comments on commit 016fb5a

Please sign in to comment.