summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/GenUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cpp/GenUtil.cpp')
-rw-r--r--cpp/src/slice2cpp/GenUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/GenUtil.cpp b/cpp/src/slice2cpp/GenUtil.cpp
index e5c3f2cefe5..4fb644042aa 100644
--- a/cpp/src/slice2cpp/GenUtil.cpp
+++ b/cpp/src/slice2cpp/GenUtil.cpp
@@ -177,7 +177,7 @@ Slice::writeMarshalUnmarshalCode(Output& out, const Type_ptr& type,
<< "::__implements[0]);";
out << nl << "if(!__obj)";
ClassDef_ptr def = cl -> definition();
- if(def && !def -> abstract())
+ if(def && !def -> isAbstract())
{
out << sb;
out << nl << "__obj = new " << cl -> scoped() << ";";