Browse Source

clang compilation fixes

pull/13/head
Jessica James 4 years ago
parent
commit
813137db5b
  1. 4
      build/Clang/CMakeLists.txt
  2. 2
      src/Plugins/RenX/RenX.Core/RenX_GameCommand.cpp
  3. 2
      src/Plugins/RenX/RenX.Core/RenX_GameCommand.h

4
build/Clang/CMakeLists.txt

@ -0,0 +1,4 @@
# Clang-specific compiler settings
# Enable pthreads
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")

2
src/Plugins/RenX/RenX.Core/RenX_GameCommand.cpp

@ -25,7 +25,7 @@ Jupiter::ArrayList<RenX::GameCommand> *RenX::GameMasterCommandList = &_GameMaste
RenX::Server *RenX::GameCommand::active_server = nullptr; RenX::Server *RenX::GameCommand::active_server = nullptr;
RenX::Server *RenX::GameCommand::selected_server = nullptr; RenX::Server *RenX::GameCommand::selected_server = nullptr;
RenX::GameCommand::GameCommand(nullptr_t) RenX::GameCommand::GameCommand(std::nullptr_t)
{ {
} }

2
src/Plugins/RenX/RenX.Core/RenX_GameCommand.h

@ -89,7 +89,7 @@ namespace RenX
/** /**
* @brief Same as the Default constructor, except that the command is not added to the master command list. * @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. * @brief Copy constructor for a Game Command.

Loading…
Cancel
Save