Skip to content

Commit

Permalink
clang compilation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JAJames committed Jun 7, 2020
1 parent 76ad023 commit 813137d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions build/Clang/CMakeLists.txt
@@ -0,0 +1,4 @@
# Clang-specific compiler settings

# Enable pthreads
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
2 changes: 1 addition & 1 deletion src/Plugins/RenX/RenX.Core/RenX_GameCommand.cpp
Expand Up @@ -25,7 +25,7 @@ Jupiter::ArrayList<RenX::GameCommand> *RenX::GameMasterCommandList = &_GameMaste
RenX::Server *RenX::GameCommand::active_server = nullptr;
RenX::Server *RenX::GameCommand::selected_server = nullptr;

RenX::GameCommand::GameCommand(nullptr_t)
RenX::GameCommand::GameCommand(std::nullptr_t)
{
}

Expand Down
2 changes: 1 addition & 1 deletion src/Plugins/RenX/RenX.Core/RenX_GameCommand.h
Expand Up @@ -89,7 +89,7 @@ namespace RenX
/**
* @brief Same as the Default constructor, except that the command is not added to the master command list.
*/
GameCommand(nullptr_t);
GameCommand(std::nullptr_t);

/**
* @brief Copy constructor for a Game Command.
Expand Down

0 comments on commit 813137d

Please sign in to comment.