fw: remove reliance upon marker name components
refs #5044
Change-Id: Iea6c98e03dbd3e4463f7bb6fca0be4953a2cdc40
diff --git a/daemon/fw/self-learning-strategy.cpp b/daemon/fw/self-learning-strategy.cpp
index 59a3f8f..3a4fcbb 100644
--- a/daemon/fw/self-learning-strategy.cpp
+++ b/daemon/fw/self-learning-strategy.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2020, Regents of the University of California,
+ * Copyright (c) 2014-2021, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -61,7 +61,7 @@
const Name&
SelfLearningStrategy::getStrategyName()
{
- static Name strategyName("/localhost/nfd/strategy/self-learning/%FD%01");
+ static const auto strategyName = Name("/localhost/nfd/strategy/self-learning").appendVersion(1);
return strategyName;
}