summaryrefslogtreecommitdiff
path: root/games/lincity-ng/files/patch-src_lincity-ng_Config.cpp
blob: 4d69431923ed9ba75b8bc4fbbcd56f8c6fcc5ab9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- src/lincity-ng/Config.cpp.orig	2025-10-03 08:36:01 UTC
+++ src/lincity-ng/Config.cpp
@@ -436,11 +436,6 @@ Config::parseCommandLine(int argc, char** argv) {
 }
 
 
-template class Config::Option<int>;
-template class Config::Option<bool>;
-template class Config::Option<std::string>;
-template class Config::Option<std::filesystem::path>;
-
 template<typename T>
 Config::Option<T>::Option() :
   default_(std::nullopt)
@@ -594,5 +589,10 @@ saveOption(xmlTextWriterPtr xmlWriter, const std::stri
     xmlTextWriterWriteElement(xmlWriter, (xmlStr)name.c_str(),
       (xmlStr)"default");
 }
+
+template class Config::Option<int>;
+template class Config::Option<bool>;
+template class Config::Option<std::string>;
+template class Config::Option<std::filesystem::path>;
 
 /** @file lincity-ng/Config.cpp */