Index: trunk/FACT++/src/EventBuilder.cc
===================================================================
--- trunk/FACT++/src/EventBuilder.cc	(revision 16835)
+++ trunk/FACT++/src/EventBuilder.cc	(revision 16836)
@@ -656,5 +656,5 @@
 
         // The new run is the active run now
-        actrun = shared_ptr<RUN_CTRL2>(new RUN_CTRL2);
+        actrun = make_shared<RUN_CTRL2>();
 
         const time_t &tsec = evt->time.tv_sec;
@@ -1040,5 +1040,5 @@
     processingQueue1.start();;
 
-    actrun = shared_ptr<RUN_CTRL2>(new RUN_CTRL2);
+    actrun = make_shared<RUN_CTRL2>();
 
     //time in seconds
