diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-01-31 05:22:06 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-01-31 05:22:06 +0000 |
commit | efaf9b0b8f93dfdc6b2399db252007b705857c31 (patch) | |
tree | 08d98b2e3e87e1e1a760293601b5312338f79b03 /searchlib | |
parent | fb11de69023feccfc8259a3dcaa231b56099679d (diff) |
Explicit deinline
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/tests/bitcompression/expgolomb/expgolomb_test.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/searchlib/src/tests/bitcompression/expgolomb/expgolomb_test.cpp b/searchlib/src/tests/bitcompression/expgolomb/expgolomb_test.cpp index 06ddcb8e0e5..591e1935ea7 100644 --- a/searchlib/src/tests/bitcompression/expgolomb/expgolomb_test.cpp +++ b/searchlib/src/tests/bitcompression/expgolomb/expgolomb_test.cpp @@ -200,7 +200,7 @@ public: public: DecodeFuncFactories(); - void addConstKFactory(int kValue, IDecodeFuncFactory factory); + void addConstKFactory(int kValue, IDecodeFuncFactory factory) __attribute__((noinline)); [[nodiscard]] IDecodeFuncFactory getConstKFactory(int kValue) const { assert(kValue >= 0 && @@ -248,9 +248,7 @@ public: static void registerFactory(DecodeFuncFactories<bigEndian> &factories, RegisterFactoryPtr<bigEndian> &ptr) { - factories.addConstKFactory(kValue, - &DecodeExpGolombConstK<bigEndian, kValue>:: - make); + factories.addConstKFactory(kValue, &DecodeExpGolombConstK<bigEndian, kValue>::make); ptr._ptr = &RegisterFactories<bigEndian, kValue+1>::registerFactory; } }; |