Skip to content

Commit

Permalink
Removed unnecessary forced compilation of animated template specializ…
Browse files Browse the repository at this point in the history
…ations

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.
  • Loading branch information
Vultraz committed May 11, 2017
1 parent ad4f6b1 commit 1ea8720
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/animated.cpp
Expand Up @@ -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 <SDL_timer.h>

// Put these here to ensure that there's only
// one instance of the current_ticks variable
Expand Down

0 comments on commit 1ea8720

Please sign in to comment.