|
|
6fed4a |
If a class or struct has no user-defined default constructor, C++ doesn't
|
|
|
6fed4a |
allow you to default construct a const instance of it.
|
|
|
6fed4a |
|
|
|
6fed4a |
https://bugs.gentoo.org/358021
|
|
|
6fed4a |
http://clang.llvm.org/compatibility.html#default_init_const
|
|
|
6fed4a |
http://gcc.gnu.org/PR44499
|
|
|
6fed4a |
|
|
|
6fed4a |
|
|
|
6fed4a |
--- a/jade/TeXFOTBuilder.cxx
|
|
|
6fed4a |
+++ b/jade/TeXFOTBuilder.cxx
|
|
|
6fed4a |
@@ -88,6 +88,8 @@ public:
|
|
|
6fed4a |
value.convertString(nic_.placement);
|
|
|
6fed4a |
}
|
|
|
6fed4a |
ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); }
|
|
|
6fed4a |
+ public:
|
|
|
6fed4a |
+ PageFloatFlowObj() {}
|
|
|
6fed4a |
private:
|
|
|
6fed4a |
PageFloatNIC nic_;
|
|
|
6fed4a |
StringC name_;
|
|
|
6fed4a |
@@ -101,6 +103,8 @@ public:
|
|
|
6fed4a |
fotb.endPageFootnote();
|
|
|
6fed4a |
}
|
|
|
6fed4a |
ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); }
|
|
|
6fed4a |
+ public:
|
|
|
6fed4a |
+ PageFootnoteFlowObj() {}
|
|
|
6fed4a |
private:
|
|
|
6fed4a |
};
|
|
|
6fed4a |
//////////////////////////////////////////////////////////////////////
|
|
|
6fed4a |
--- a/jade/TransformFOTBuilder.cxx
|
|
|
6fed4a |
+++ b/jade/TransformFOTBuilder.cxx
|
|
|
6fed4a |
@@ -41,6 +41,7 @@ public:
|
|
|
6fed4a |
};
|
|
|
6fed4a |
class EntityRefFlowObj : public TransformExtensionFlowObj {
|
|
|
6fed4a |
public:
|
|
|
6fed4a |
+ EntityRefFlowObj() {}
|
|
|
6fed4a |
void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
|
|
|
6fed4a |
fotb.entityRef(name_);
|
|
|
6fed4a |
}
|
|
|
6fed4a |
@@ -56,6 +57,7 @@ public:
|
|
|
6fed4a |
};
|
|
|
6fed4a |
class ProcessingInstructionFlowObj : public TransformExtensionFlowObj {
|
|
|
6fed4a |
public:
|
|
|
6fed4a |
+ ProcessingInstructionFlowObj() {}
|
|
|
6fed4a |
void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
|
|
|
6fed4a |
fotb.processingInstruction(data_);
|
|
|
6fed4a |
}
|
|
|
6fed4a |
@@ -98,6 +100,8 @@ public:
|
|
|
6fed4a |
}
|
|
|
6fed4a |
}
|
|
|
6fed4a |
ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); }
|
|
|
6fed4a |
+ public:
|
|
|
6fed4a |
+ EmptyElementFlowObj() {}
|
|
|
6fed4a |
private:
|
|
|
6fed4a |
ElementNIC nic_;
|
|
|
6fed4a |
};
|
|
|
6fed4a |
@@ -133,6 +137,8 @@ public:
|
|
|
6fed4a |
}
|
|
|
6fed4a |
}
|
|
|
6fed4a |
ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); }
|
|
|
6fed4a |
+ public:
|
|
|
6fed4a |
+ ElementFlowObj() {}
|
|
|
6fed4a |
private:
|
|
|
6fed4a |
ElementNIC nic_;
|
|
|
6fed4a |
};
|
|
|
6fed4a |
@@ -150,6 +156,8 @@ public:
|
|
|
6fed4a |
value.convertString(systemId_);
|
|
|
6fed4a |
}
|
|
|
6fed4a |
ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); }
|
|
|
6fed4a |
+ public:
|
|
|
6fed4a |
+ EntityFlowObj() {}
|
|
|
6fed4a |
private:
|
|
|
6fed4a |
StringC systemId_;
|
|
|
6fed4a |
};
|
|
|
6fed4a |
@@ -174,6 +182,8 @@ public:
|
|
|
6fed4a |
}
|
|
|
6fed4a |
}
|
|
|
6fed4a |
ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); }
|
|
|
6fed4a |
+ public:
|
|
|
6fed4a |
+ DocumentTypeFlowObj() {}
|
|
|
6fed4a |
private:
|
|
|
6fed4a |
DocumentTypeNIC nic_;
|
|
|
6fed4a |
};
|