Skip to content
Snippets Groups Projects
Commit 84d48605 authored by Xiao Pan's avatar Xiao Pan
Browse files

Merge branch 'fix_imap_loader' into 'imap_dev'

fix [[nodiscard]]  in the  IMapLoder

See merge request eclipse/openpass/mantle-api!100
parents 8f92ad96 d446d2cb
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ public:
/// @param map_file The path to the map input file.
/// @return A unique pointer to the loaded map object. If the file cannot be opened or the contents are invalid,
/// an exception will be thrown.
virtual [[nodiscard]] std::unique_ptr<Map> LoadMap(const std::string& map_file) const = 0;
[[nodiscard]] virtual std::unique_ptr<Map> LoadMap(const std::string& map_file) const = 0;
};
} // namespace mantle_api
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment