]> WPIA git - cassiopeia.git/blobdiff - src/util.cpp
change to postgres with libpqxx
[cassiopeia.git] / src / util.cpp
index d2667fad891951775a7d3abbb5cf89a76716fe15..40fcf25ac0dc2f5c9c6cbb3a6ab839404c20921d 100644 (file)
@@ -187,7 +187,7 @@ std::unique_ptr<std::ofstream> openLogfile( const std::string &name ) {
         tname = name + "_" + std::to_string( ctr++ );
     }
 
-    auto res = make_unique<std::ofstream>( tname );
+    auto res = std::make_unique<std::ofstream>( tname );
 
     if( ! res->good() ) {
         throw std::string( "Failed to open file for logging: " ) + name;