summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2013-08-26 21:03:08 +0200
committerJose <jose@zeroc.com>2013-08-26 21:03:08 +0200
commita4f6b0f1996096a2bf841ecb8638f45f9d1508e9 (patch)
treedcf6ba7467fae1693cbc17b09ff329c31d5291b0 /cpp/src/slice2cpp/Gen.cpp
parentFixed ICE-5402 - VS2010: generated code does not compile if method has more t... (diff)
downloadice-a4f6b0f1996096a2bf841ecb8638f45f9d1508e9.tar.bz2
ice-a4f6b0f1996096a2bf841ecb8638f45f9d1508e9.tar.xz
ice-a4f6b0f1996096a2bf841ecb8638f45f9d1508e9.zip
minor fix
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index d4e22e1bcb8..e212a662883 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -1859,7 +1859,7 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p)
// COMPILERFIX VC compilers up to VC110 don't support more than 10 parameters with std::function due to
// lack of variadic templates.
//
- if(outDecls.size() > 10 || outDecls.size() > 9 && !retInS.empty())
+ if(outDecls.size() > 10 || (outDecls.size() > 9 && !retInS.empty()))
{
H.zeroIndent();
H << nl << "#if !defined(_MSC_VER) || _MSC_VER > 1700";
@@ -1899,7 +1899,7 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p)
// COMPILERFIX VC compilers up to VC110 don't support more than 10 parameters with std::function due to
// lack of variadic templates.
//
- if(outDecls.size() > 10 || outDecls.size() > 9 && !retInS.empty())
+ if(outDecls.size() > 10 || (outDecls.size() > 9 && !retInS.empty()))
{
H.zeroIndent();
H << nl << "#endif";
@@ -1919,7 +1919,7 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p)
// COMPILERFIX VC compilers up to VC110 don't support more than 10 parameters with std::function due to
// lack of variadic templates.
//
- if(outDecls.size() > 10 || outDecls.size() > 9 && !retInS.empty())
+ if(outDecls.size() > 10 || (outDecls.size() > 9 && !retInS.empty()))
{
H.zeroIndent();
H << nl << "#if !defined(_MSC_VER) || _MSC_VER > 1700";
@@ -1958,7 +1958,7 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p)
// COMPILERFIX VC compilers up to VC110 don't support more than 10 parameters with std::function due to
// lack of variadic templates.
//
- if(outDecls.size() > 10 || outDecls.size() > 9 && !retInS.empty())
+ if(outDecls.size() > 10 || (outDecls.size() > 9 && !retInS.empty()))
{
H.zeroIndent();
H << nl << "#endif";
@@ -1981,7 +1981,7 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p)
// COMPILERFIX VC compilers up to VC110 don't support more than 10 parameters with std::function due to
// lack of variadic templates.
//
- if(outDecls.size() > 10 || outDecls.size() > 9 && !retInS.empty())
+ if(outDecls.size() > 10 || (outDecls.size() > 9 && !retInS.empty()))
{
H.zeroIndent();
H << nl << "#if !defined(_MSC_VER) || _MSC_VER > 1700";
@@ -2108,7 +2108,7 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p)
// COMPILERFIX VC compilers up to VC110 don't support more than 10 parameters with std::function due to
// lack of variadic templates.
//
- if(outDecls.size() > 10 || outDecls.size() > 9 && !retInS.empty())
+ if(outDecls.size() > 10 || (outDecls.size() > 9 && !retInS.empty()))
{
H.zeroIndent();
H << nl << "#endif";