aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cxx/include/pugl/pugl.ipp
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/cxx/include/pugl/pugl.ipp')
-rw-r--r--bindings/cxx/include/pugl/pugl.ipp4
1 files changed, 4 insertions, 0 deletions
diff --git a/bindings/cxx/include/pugl/pugl.ipp b/bindings/cxx/include/pugl/pugl.ipp
index b90c878..c11f7d0 100644
--- a/bindings/cxx/include/pugl/pugl.ipp
+++ b/bindings/cxx/include/pugl/pugl.ipp
@@ -25,12 +25,16 @@
namespace pugl {
+#ifdef PUGL_HPP_THROW_FAILED_CONSTRUCTION
+
const char*
FailedConstructionError::what() const noexcept
{
return _msg;
}
+#endif
+
Status
View::onCreate(const CreateEvent&)
{