From 80eccfbdb29c75d8c2d3de9ed98e686a52dd9c86 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 27 Sep 2014 16:25:09 +0200 Subject: Remove obsolete unused attribute --- src/model/Map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::load(__attribute__((unused)) const std::string &name) { +std::unique_ptr Map::load(const std::string &name) { std::string filename = "../resources/map/" + name + ".map"; std::ifstream file; -- cgit v1.2.3