26 lines
652 B
C++
26 lines
652 B
C++
$NetBSD: patch-src_common_OW__CommonFwd.hpp,v 1.1 2013/05/23 14:58:09 joerg Exp $
|
|
|
|
--- src/common/OW_CommonFwd.hpp.orig 2013-05-23 13:15:41.000000000 +0000
|
|
+++ src/common/OW_CommonFwd.hpp
|
|
@@ -38,19 +38,7 @@
|
|
#include "OW_ArrayFwd.hpp"
|
|
#include "OW_IntrusiveReference.hpp"
|
|
|
|
-// Yeah I know this is forbidden by the standard, but what am I gonna do? #include <algorithm> ? I think not.
|
|
-// If it causes a problem on some compiler, just #ifdef a fix in.
|
|
-#ifdef OW_WIN32
|
|
-namespace std
|
|
-{
|
|
- template <typename T> struct less;
|
|
-}
|
|
-#else
|
|
-namespace std
|
|
-{
|
|
- template <typename T> class less;
|
|
-}
|
|
-#endif
|
|
+#include <algorithm>
|
|
|
|
namespace OW_NAMESPACE
|
|
{
|