From e903060cb31ba69a710ad4f1d2a98c24f33291b6 Mon Sep 17 00:00:00 2001
From: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Date: Fri, 20 May 2022 19:39:25 +0200
Subject: [PATCH] cta-dcache: use c++ 17

---
 cta-dcache/Main.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/cta-dcache/Main.cpp b/cta-dcache/Main.cpp
index db4e5f496e..847fcb9acc 100644
--- a/cta-dcache/Main.cpp
+++ b/cta-dcache/Main.cpp
@@ -24,7 +24,6 @@
 #include "common/log/StdoutLogger.hpp"
 #include "common/log/Logger.hpp"
 #include "common/log/LogLevel.hpp"
-#include "common/make_unique.hpp"
 #include "scheduler/OStoreDB/OStoreDBInit.hpp"
 
 #include <getopt.h>
@@ -140,10 +139,10 @@ int main(const int argc, char *const *const argv) {
     auto backed = config.getConfEntString("ObjectStore", "BackendPath");
     lc.log(log::INFO, "Using scheduler backend: " + backed);
 
-    auto sInit = cta::make_unique<SchedulerDBInit_t>("Frontend", backed, logger);
+    auto sInit = std::make_unique<SchedulerDBInit_t>("Frontend", backed, logger);
     auto scheddb = sInit->getSchedDB(*catalogue, logger);
     scheddb->setBottomHalfQueueSize(25000);
-    auto scheduler = cta::make_unique<cta::Scheduler>(*catalogue, *scheddb, 5, 2*1000*1000);
+    auto scheduler = std::make_unique<cta::Scheduler>(*catalogue, *scheddb, 5, 2*1000*1000);
 
     CtaRpcImpl svc(&logger, catalogue, scheduler);
 
-- 
GitLab