fw: move STRATEGY_NAME to getStrategyName static function
This avoids potential problems with static initialization order.
refs #3868
Change-Id: I13f0ff6c51c0a3bd43af7993233ff63a4bca9cf9
diff --git a/tests/daemon/fw/strategy-tester.hpp b/tests/daemon/fw/strategy-tester.hpp
index 07bc0b0..14265d5 100644
--- a/tests/daemon/fw/strategy-tester.hpp
+++ b/tests/daemon/fw/strategy-tester.hpp
@@ -43,7 +43,7 @@
public:
explicit
StrategyTester(Forwarder& forwarder)
- : S(forwarder, Name(S::STRATEGY_NAME).append("tester"))
+ : S(forwarder, Name(S::getStrategyName()).append("tester"))
{
}