From c444fddc0b40160ba867130dd0280eac16399818 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 22 May 2015 12:41:30 +0200 Subject: [PATCH] Use macro LYX_USE_CXX11 in one more location This is a follow-up to commit 329eae56. --- src/tex2lyx/Parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tex2lyx/Parser.h b/src/tex2lyx/Parser.h index 9778765ed6..489b132549 100644 --- a/src/tex2lyx/Parser.h +++ b/src/tex2lyx/Parser.h @@ -125,7 +125,7 @@ public: iparserdocstream(idocstream & is) : is_(is) {} -#if (__cplusplus > 199711L) +#ifdef LYX_USE_CXX11 /// Like std::istream::operator bool() /// Do not convert is_ implicitly to bool, since that is forbidden in C++11. explicit operator bool() const { return s_.empty() ? !is_.fail() : true; }