Author: mvidner
Date: Thu Feb 7 10:31:52 2008
New Revision: 44222
URL: http://svn.opensuse.org/viewcvs/yast?rev=44222&view=rev
Log:
Prepared to use unordered_map instead of hash_map.
Modified:
trunk/core/libycp/src/include/ycp/YCode.h
Modified: trunk/core/libycp/src/include/ycp/YCode.h
URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/libycp/src/include/ycp/YCode.h?rev=44222&r1=44221&r2=44222&view=diff
==============================================================================
--- trunk/core/libycp/src/include/ycp/YCode.h (original)
+++ trunk/core/libycp/src/include/ycp/YCode.h Thu Feb 7 10:31:52 2008
@@ -219,7 +219,15 @@
constTypePtr type() const;
};
+// bother, 4.3 requires -std=c++0x
+// so without a condition in configure.in you can't have code
+// that works with 4.2 and 4.3 without warnings
+#ifdef HAVE_CXX0X
+#include