diff --git a/CAPI/cpp/API/include/Communication.h b/CAPI/cpp/API/include/Communication.h index ae253f9..70a15ac 100644 --- a/CAPI/cpp/API/include/Communication.h +++ b/CAPI/cpp/API/include/Communication.h @@ -50,7 +50,7 @@ public: protobuf::MessageToClient GetMessage2Client(); void AddPlayer(int64_t playerID, THUAI6::PlayerType playerType, THUAI6::StudentType studentType, THUAI6::TrickerType trickerType); - std::vector> GetMap(int64_t playerID); + [[nodiscard]] std::vector> GetMap(int64_t playerID); void ReadMessage(int64_t playerID);