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