all: Fixing compatibility with NFD 0.5 and ndn-cxx 0.5
Change-Id: I3d23acf29f4858049d1040a3e421e1c7151b3aba
diff --git a/helper/ndn-strategy-choice-helper.hpp b/helper/ndn-strategy-choice-helper.hpp
index aea07f3..302682a 100644
--- a/helper/ndn-strategy-choice-helper.hpp
+++ b/helper/ndn-strategy-choice-helper.hpp
@@ -120,7 +120,7 @@
nfd::StrategyChoice& strategyChoice = forwarder.getStrategyChoice();
if (!strategyChoice.hasStrategy(Strategy::STRATEGY_NAME)) {
- strategyChoice.install(make_shared<Strategy>(ref(forwarder)));
+ strategyChoice.install(make_unique<Strategy>(ref(forwarder)));
}
Install(node, namePrefix, Strategy::STRATEGY_NAME);