diff options
author | David Robillard <d@drobilla.net> | 2022-04-22 18:16:49 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-04-23 21:19:22 -0400 |
commit | b0759696d15d24f9e82318d9c27cb794a4787c9c (patch) | |
tree | f3d01521770bb1195c940f0b32da4f81558e315b /bindings | |
parent | 7feb9000f640d9d6f05f5d0f80a2177db920af49 (diff) | |
download | pugl-b0759696d15d24f9e82318d9c27cb794a4787c9c.tar.gz pugl-b0759696d15d24f9e82318d9c27cb794a4787c9c.tar.bz2 pugl-b0759696d15d24f9e82318d9c27cb794a4787c9c.zip |
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.
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/cpp/include/pugl/pugl.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 <cstdint> +#include <cstdint> // IWYU pragma: keep #if defined(PUGL_HPP_THROW_FAILED_CONSTRUCTION) # include <exception> @@ -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<Status>(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<Status>(puglStopTimer(cobj(), id)); } |