Skip to content

Commit 98372be

Browse files
committed
xrGame: fix linkage ge_function by @Zegeri
1 parent 758808e commit 98372be

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

src/xrGame/state_arguments_functions.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ namespace award_system
55
{
66
// definitions of static members of functions_cf
77
template<>
8-
ge_function<float> functions_cf<float>::ge_function;
8+
ge_function<float> functions_cf<float>::ge_function {};
99
template<>
10-
le_function<float> functions_cf<float>::le_function;
10+
le_function<float> functions_cf<float>::le_function {};
1111

1212
template<>
13-
ge_function<u32> functions_cf<u32>::ge_function;
13+
ge_function<u32> functions_cf<u32>::ge_function {};
1414
template<>
15-
le_function<u32> functions_cf<u32>::le_function;
15+
le_function<u32> functions_cf<u32>::le_function {};
1616

1717
} // namespace award_system

src/xrGame/state_arguments_functions.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ class functions_cf
5555
static ge_function<T> ge_function;
5656
static le_function<T> le_function;
5757
};
58-
// definitions of static members of functions_cf
59-
template<typename T>
60-
ge_function<T> functions_cf<T>::ge_function;
61-
template<typename T>
62-
le_function<T> functions_cf<T>::le_function;
6358

6459
typedef binary_function<float> float_binary_function;
6560
typedef functions_cf<float> float_bfunc_cf;

0 commit comments

Comments
 (0)