diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-27 16:25:09 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-27 16:25:09 +0200 |
commit | 80eccfbdb29c75d8c2d3de9ed98e686a52dd9c86 (patch) | |
tree | a254b818c9b4823a4f7852f20ea41ce428543ff3 | |
parent | f330fffa09dd1cdf9d6e1e42f8705d43d5803e85 (diff) | |
download | rpgedit-80eccfbdb29c75d8c2d3de9ed98e686a52dd9c86.tar rpgedit-80eccfbdb29c75d8c2d3de9ed98e686a52dd9c86.zip |
Remove obsolete unused attribute
-rw-r--r-- | src/model/Map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/Map.cpp b/src/model/Map.cpp index ee413cf..2df54b7 100644 --- a/src/model/Map.cpp +++ b/src/model/Map.cpp @@ -88,7 +88,7 @@ void Map::finishEntityTransition(Entity *entity) { moveEntityTo(entity, state.position + state.direction); } -std::unique_ptr<Map> Map::load(__attribute__((unused)) const std::string &name) { +std::unique_ptr<Map> Map::load(const std::string &name) { std::string filename = "../resources/map/" + name + ".map"; std::ifstream file; |