[Orxonox-commit 6320] r10977 - code/branches/cpp11_v2/src/libraries/util

landauf at orxonox.net landauf at orxonox.net
Fri Dec 25 23:22:11 CET 2015


Author: landauf
Date: 2015-12-25 23:22:11 +0100 (Fri, 25 Dec 2015)
New Revision: 10977

Modified:
   code/branches/cpp11_v2/src/libraries/util/Math.h
Log:
fixed build (with gcc)

Modified: code/branches/cpp11_v2/src/libraries/util/Math.h
===================================================================
--- code/branches/cpp11_v2/src/libraries/util/Math.h	2015-12-25 20:07:12 UTC (rev 10976)
+++ code/branches/cpp11_v2/src/libraries/util/Math.h	2015-12-25 22:22:11 UTC (rev 10977)
@@ -181,7 +181,6 @@
     inline T zeroise()
     {
         static_assert(sizeof(T) != sizeof(T), "No template specialization available for T");
-        return temp;
     }
 
     template <> inline char                 zeroise<char>()                 { return 0; }




More information about the Orxonox-commit mailing list