summaryrefslogtreecommitdiff
path: root/tools/tmxcopy/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tmxcopy/map.cpp')
-rw-r--r--tools/tmxcopy/map.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/tmxcopy/map.cpp b/tools/tmxcopy/map.cpp
index e0212e37..b554aac2 100644
--- a/tools/tmxcopy/map.cpp
+++ b/tools/tmxcopy/map.cpp
@@ -18,6 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <cstring>
#include <iostream>
#include <map>
#include <list>
@@ -250,6 +251,7 @@ bool Map::overwrite( Map* srcMap,
}
std::clog<<"copying successful!"<<std::endl;
+ return true;
}
int Map::save(std::string filename)