From b0759696d15d24f9e82318d9c27cb794a4787c9c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 22 Apr 2022 18:16:49 -0400 Subject: Fix IWYU warnings I suspect that using the same configuration across both C and C++ is starting to wear a bit thin, but this will do for now. --- bindings/cpp/include/pugl/pugl.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bindings') diff --git a/bindings/cpp/include/pugl/pugl.hpp b/bindings/cpp/include/pugl/pugl.hpp index 98b0108..743d37f 100644 --- a/bindings/cpp/include/pugl/pugl.hpp +++ b/bindings/cpp/include/pugl/pugl.hpp @@ -6,7 +6,7 @@ #include "pugl/pugl.h" -#include +#include // IWYU pragma: keep #if defined(PUGL_HPP_THROW_FAILED_CONSTRUCTION) # include @@ -599,7 +599,7 @@ public: @return #PUGL_FAILURE if timers are not supported by the system, #PUGL_UNKNOWN_ERROR if setting the timer failed. */ - Status startTimer(const uintptr_t id, const double timeout) noexcept + Status startTimer(const std::uintptr_t id, const double timeout) noexcept { return static_cast(puglStartTimer(cobj(), id, timeout)); } @@ -612,7 +612,7 @@ public: @return #PUGL_FAILURE if timers are not supported by this system, #PUGL_UNKNOWN_ERROR if stopping the timer failed. */ - Status stopTimer(const uintptr_t id) noexcept + Status stopTimer(const std::uintptr_t id) noexcept { return static_cast(puglStopTimer(cobj(), id)); } -- cgit v1.2.1