From 1ea8720e9bb993cf36666bea95172d687fa53fc3 Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Thu, 11 May 2017 21:21:30 +1100 Subject: [PATCH] Removed unnecessary forced compilation of animated template specializations These don't appear to be necessary anymore. Also reduces .exe output size from to 25.84 MB to 25.78 MB for me, oddly. --- src/animated.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/animated.cpp b/src/animated.cpp index 77f9163508ab..befdff632a75 100644 --- a/src/animated.cpp +++ b/src/animated.cpp @@ -18,13 +18,8 @@ */ #include "animated.hpp" -// Force compilation of the following template instantiations -#include "units/frame.hpp" - -template class animated< image::locator >; -template class animated< std::string >; -template class animated< unit_frame >; +#include // Put these here to ensure that there's only // one instance of the current_ticks variable