aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cxx/include/pugl/gl.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-01 13:32:11 +0100
committerDavid Robillard <d@drobilla.net>2020-11-01 13:43:16 +0100
commitf0f058dbeb40d016501328ed755392b46eefec9b (patch)
tree3fe5ede0194084d6475ee25c0d07cda271d565f5 /bindings/cxx/include/pugl/gl.hpp
parent71a9fbf296928d3599743e88f72390ff827c5ab3 (diff)
downloadpugl-f0f058dbeb40d016501328ed755392b46eefec9b.tar.gz
pugl-f0f058dbeb40d016501328ed755392b46eefec9b.tar.bz2
pugl-f0f058dbeb40d016501328ed755392b46eefec9b.zip
Run clang-tidy on all headers and fix various issues
It's a nightmare trying to get this thing to check everything.
Diffstat (limited to 'bindings/cxx/include/pugl/gl.hpp')
-rw-r--r--bindings/cxx/include/pugl/gl.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/cxx/include/pugl/gl.hpp b/bindings/cxx/include/pugl/gl.hpp
index 2777cbf..ba7143b 100644
--- a/bindings/cxx/include/pugl/gl.hpp
+++ b/bindings/cxx/include/pugl/gl.hpp
@@ -38,14 +38,14 @@ namespace pugl {
using GlFunc = PuglGlFunc;
/// @copydoc puglGetProcAddress
-static inline GlFunc
+inline GlFunc
getProcAddress(const char* name) noexcept
{
return puglGetProcAddress(name);
}
/// @copydoc puglGlBackend
-static inline const PuglBackend*
+inline const PuglBackend*
glBackend() noexcept
{
return puglGlBackend();