aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cpp/include/pugl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-20 14:23:40 -0400
committerDavid Robillard <d@drobilla.net>2022-05-21 16:49:47 -0400
commit692dbf482859e91f0dbadaa97152ab779f9a4648 (patch)
treed44fc399b8babcb45bc3c9f8e95b784496f06c72 /bindings/cpp/include/pugl
parentd8e02dad9e4a19b5b4e5234ea14b6f0f0bef9fab (diff)
downloadpugl-692dbf482859e91f0dbadaa97152ab779f9a4648.tar.gz
pugl-692dbf482859e91f0dbadaa97152ab779f9a4648.tar.bz2
pugl-692dbf482859e91f0dbadaa97152ab779f9a4648.zip
Rename PUGL_UNSUPPORTED_TYPE to be more generic
Diffstat (limited to 'bindings/cpp/include/pugl')
-rw-r--r--bindings/cpp/include/pugl/pugl.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/cpp/include/pugl/pugl.hpp b/bindings/cpp/include/pugl/pugl.hpp
index 743d37f..5387c91 100644
--- a/bindings/cpp/include/pugl/pugl.hpp
+++ b/bindings/cpp/include/pugl/pugl.hpp
@@ -195,10 +195,10 @@ enum class Status {
realizeFailed, ///< @copydoc PUGL_REALIZE_FAILED
setFormatFailed, ///< @copydoc PUGL_SET_FORMAT_FAILED
createContextFailed, ///< @copydoc PUGL_CREATE_CONTEXT_FAILED
- unsupportedType, ///< @copydoc PUGL_UNSUPPORTED_TYPE
+ unsupported, ///< @copydoc PUGL_UNSUPPORTED
};
-static_assert(Status(PUGL_UNSUPPORTED_TYPE) == Status::unsupportedType, "");
+static_assert(Status(PUGL_UNSUPPORTED) == Status::unsupported, "");
/// @copydoc puglStrerror
inline const char*