diff options
Diffstat (limited to 'cpp/src/slice2docbook/Gen.cpp')
-rw-r--r-- | cpp/src/slice2docbook/Gen.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/slice2docbook/Gen.cpp b/cpp/src/slice2docbook/Gen.cpp index 56499841742..e3c77c4ce68 100644 --- a/cpp/src/slice2docbook/Gen.cpp +++ b/cpp/src/slice2docbook/Gen.cpp @@ -434,10 +434,9 @@ Slice::Gen::visitClassDefStart(const ClassDefPtr& p) O.zeroIndent(); O << nl << "<synopsis>"; printMetaData(*q); - bool nonmutating = (*q)->nonmutating(); TypePtr returnType = (*q)->returnType(); - O << (nonmutating ? "nonmutating " : "") << (returnType ? toString(returnType, p) : "<type>void</type>") - << " <function>" << (*q)->name() << "</function>("; + O << (returnType ? toString(returnType, p) : "<type>void</type>") << " <function>" << (*q)->name() + << "</function>("; O.inc(); TypeStringList inputParams = (*q)->inputParameters(); TypeStringList::const_iterator r = inputParams.begin(); |