From 692dbf482859e91f0dbadaa97152ab779f9a4648 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 20 May 2022 14:23:40 -0400 Subject: Rename PUGL_UNSUPPORTED_TYPE to be more generic --- bindings/cpp/include/pugl/pugl.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bindings/cpp/include/pugl') 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* -- cgit v1.2.1