commit | 77c8751576bc5765aa570be219c26a243486bf11 | [log] [tgz] |
---|---|---|
author | Steve DiBenedetto <dibenede@cs.colostate.edu> | Mon Oct 06 14:18:22 2014 -0600 |
committer | Alex Afanasyev <alexander.afanasyev@ucla.edu> | Wed Oct 08 11:53:53 2014 -0700 |
tree | 1dd883a8f8081ed6c18f16c9136259186d5003c2 | |
parent | b4336c2e0a2da8482cb990e892662bb7fef8437a [diff] [blame] |
mgmt: update strategy-choice/set to return a versioned strategy name refs: #1972 Change-Id: I1616574a4643884dac050d240b771423ec2a0846
diff --git a/daemon/table/strategy-choice.cpp b/daemon/table/strategy-choice.cpp index 6500191..eedbc91 100644 --- a/daemon/table/strategy-choice.cpp +++ b/daemon/table/strategy-choice.cpp
@@ -158,7 +158,7 @@ return shared_ptr<const Name>(); } - return entry->getStrategy().getName().shared_from_this(); + return make_shared<const Name>(entry->getStrategy().getName()); } static inline bool