X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=src%2Futil.h;h=529820adab8d0106047e8a17acb98ad886a31c05;hb=156855b7e12c3a0254590da514b0d0e8efe469f4;hp=976c148ba32d9795f7bdfce4bef0de4455eae302;hpb=e8abb7ca28c05c91fef58d23c40d3f2b1d5322ff;p=cassiopeia.git diff --git a/src/util.h b/src/util.h old mode 100644 new mode 100755 index 976c148..529820a --- a/src/util.h +++ b/src/util.h @@ -15,7 +15,8 @@ std::pair parseYearInterval( std::time_t t, const std::string std::unique_ptr openLogfile( const std::string &name ); -#if __GNUC__ < 5 +#if __GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ > 8) +#else namespace std{ template std::unique_ptr make_unique( Args&&... args ) {