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