From 98372beb1c740d700fb33740df7dfe13c3b521d4 Mon Sep 17 00:00:00 2001 From: Ilya Orlov Date: Thu, 4 Oct 2018 00:54:12 +0300 Subject: [PATCH] xrGame: fix linkage ge_function by @Zegeri --- src/xrGame/state_arguments_functions.cpp | 8 ++++---- src/xrGame/state_arguments_functions.h | 5 ----- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/xrGame/state_arguments_functions.cpp b/src/xrGame/state_arguments_functions.cpp index 04601171681..6b0e0f93e76 100644 --- a/src/xrGame/state_arguments_functions.cpp +++ b/src/xrGame/state_arguments_functions.cpp @@ -5,13 +5,13 @@ namespace award_system { // definitions of static members of functions_cf template<> -ge_function functions_cf::ge_function; +ge_function functions_cf::ge_function {}; template<> -le_function functions_cf::le_function; +le_function functions_cf::le_function {}; template<> -ge_function functions_cf::ge_function; +ge_function functions_cf::ge_function {}; template<> -le_function functions_cf::le_function; +le_function functions_cf::le_function {}; } // namespace award_system diff --git a/src/xrGame/state_arguments_functions.h b/src/xrGame/state_arguments_functions.h index e8f8549c9db..67d05b8f799 100644 --- a/src/xrGame/state_arguments_functions.h +++ b/src/xrGame/state_arguments_functions.h @@ -55,11 +55,6 @@ class functions_cf static ge_function ge_function; static le_function le_function; }; -// definitions of static members of functions_cf -template -ge_function functions_cf::ge_function; -template -le_function functions_cf::le_function; typedef binary_function float_binary_function; typedef functions_cf float_bfunc_cf;