aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/pugl/pugl_cairo.hpp2
-rw-r--r--include/pugl/pugl_gl.hpp4
-rw-r--r--include/pugl/pugl_stub.hpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/pugl/pugl_cairo.hpp b/include/pugl/pugl_cairo.hpp
index 5b17ab7..213c977 100644
--- a/include/pugl/pugl_cairo.hpp
+++ b/include/pugl/pugl_cairo.hpp
@@ -36,7 +36,7 @@ namespace pugl {
/// @copydoc puglCairoBackend
static inline const PuglBackend*
-cairoBackend()
+cairoBackend() noexcept
{
return puglCairoBackend();
}
diff --git a/include/pugl/pugl_gl.hpp b/include/pugl/pugl_gl.hpp
index 4bc5bbd..b7c581e 100644
--- a/include/pugl/pugl_gl.hpp
+++ b/include/pugl/pugl_gl.hpp
@@ -39,14 +39,14 @@ using GlFunc = PuglGlFunc;
/// @copydoc puglGetProcAddress
static inline GlFunc
-getProcAddress(const char* name)
+getProcAddress(const char* name) noexcept
{
return puglGetProcAddress(name);
}
/// @copydoc puglGlBackend
static inline const PuglBackend*
-glBackend()
+glBackend() noexcept
{
return puglGlBackend();
}
diff --git a/include/pugl/pugl_stub.hpp b/include/pugl/pugl_stub.hpp
index c5f3901..362682b 100644
--- a/include/pugl/pugl_stub.hpp
+++ b/include/pugl/pugl_stub.hpp
@@ -36,7 +36,7 @@ namespace pugl {
/// @copydoc puglStubBackend
static inline const PuglBackend*
-stubBackend()
+stubBackend() noexcept
{
return puglStubBackend();
}