summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-09-27 16:25:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-09-27 16:25:09 +0200
commit80eccfbdb29c75d8c2d3de9ed98e686a52dd9c86 (patch)
treea254b818c9b4823a4f7852f20ea41ce428543ff3
parentf330fffa09dd1cdf9d6e1e42f8705d43d5803e85 (diff)
downloadrpgedit-80eccfbdb29c75d8c2d3de9ed98e686a52dd9c86.tar
rpgedit-80eccfbdb29c75d8c2d3de9ed98e686a52dd9c86.zip
Remove obsolete unused attribute
-rw-r--r--src/model/Map.cpp2
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;