mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:35:42 +00:00
Mark map loader results nodiscard
This commit is contained in:
@@ -26,10 +26,10 @@ public:
|
||||
[[nodiscard]] auto what() const noexcept -> const char* override { return description.c_str(); }
|
||||
};
|
||||
|
||||
auto LoadMap(const std::string& mapName) -> HexMapProto;
|
||||
[[nodiscard]] auto LoadMap(const std::string& mapName) -> HexMapProto;
|
||||
|
||||
auto LoadMapFromBytes(const std::string& mapBytes) -> HexMapProto;
|
||||
[[nodiscard]] auto LoadMapFromBytes(const std::string& mapBytes) -> HexMapProto;
|
||||
|
||||
auto GetMapNames() -> std::vector<std::string>;
|
||||
[[nodiscard]] auto GetMapNames() -> std::vector<std::string>;
|
||||
|
||||
#endif // EAGLE0_SHARDOK_UTIL_MAP_LOADER_HPP
|
||||
|
||||
Reference in New Issue
Block a user