utils: put UniqueResource in utils namespace
... because everything in utils belong in that namespace.
Change-Id: I3b3f8f3b33163abd5090e3cf1a3f04971daba118
diff --git a/src/health/alarms/alarms.cpp b/src/health/alarms/alarms.cpp
index c47dd08..7dbf147 100644
--- a/src/health/alarms/alarms.cpp
+++ b/src/health/alarms/alarms.cpp
@@ -35,7 +35,7 @@
const auto prefix = alarmInventory + "/alarm-type[alarm-type-id='" + alarmId + "'][alarm-type-qualifier='" + alarmTypeQualifier.value_or("") + "']";
sysrepo::Datastore originalDS;
- auto restoreDatastore = make_unique_resource(
+ auto restoreDatastore = utils::make_unique_resource(
[&]() {
originalDS = session.activeDatastore();
session.switchDatastore(sysrepo::Datastore::Operational);
@@ -59,7 +59,7 @@
const auto prefix = alarmInventory + "/alarm-type[alarm-type-id='" + alarmId + "'][alarm-type-qualifier='" + alarmTypeQualifier.value_or("") + "']";
sysrepo::Datastore originalDS;
- auto restoreDatastore = make_unique_resource(
+ auto restoreDatastore = utils::make_unique_resource(
[&]() {
originalDS = session.activeDatastore();
session.switchDatastore(sysrepo::Datastore::Operational);