diff options
author | Jose <jose@zeroc.com> | 2021-05-26 10:10:24 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2021-05-26 10:10:24 +0200 |
commit | 1a31f5a1995b7a13441621abb6ab3817b1f7b085 (patch) | |
tree | 89366b476a38e9caaabbf00cb075f12c17aa7a9a /cpp/test | |
parent | Swift lint warnings - Fixes #1256 (diff) | |
download | ice-1a31f5a1995b7a13441621abb6ab3817b1f7b085.tar.bz2 ice-1a31f5a1995b7a13441621abb6ab3817b1f7b085.tar.xz ice-1a31f5a1995b7a13441621abb6ab3817b1f7b085.zip |
Do not include "thread" with C++98 builds
Diffstat (limited to 'cpp/test')
-rw-r--r-- | cpp/test/Ice/interceptor/MyObjectI.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/test/Ice/interceptor/MyObjectI.cpp b/cpp/test/Ice/interceptor/MyObjectI.cpp index 1966bf79362..6f5df603adf 100644 --- a/cpp/test/Ice/interceptor/MyObjectI.cpp +++ b/cpp/test/Ice/interceptor/MyObjectI.cpp @@ -6,7 +6,10 @@ #include <MyObjectI.h> #include <TestHelper.h> #include <IceUtil/IceUtil.h> -#include <thread> + +#ifdef ICE_CPP11_MAPPING +# include <thread> +#endif using namespace IceUtil; using namespace std; |