summaryrefslogtreecommitdiffstats
path: root/ganv/Item.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-30 20:54:49 +0200
committerDavid Robillard <d@drobilla.net>2020-07-30 20:55:28 +0200
commit473d9bd0cb085dee2fc73506ccdfce990aeee147 (patch)
tree3d57ab4200c29b7542bd1f830653acebd5c2a2c8 /ganv/Item.hpp
parente75c1e1873165e269c78d624d194fd165756837d (diff)
downloadganv-473d9bd0cb085dee2fc73506ccdfce990aeee147.tar.gz
ganv-473d9bd0cb085dee2fc73506ccdfce990aeee147.tar.bz2
ganv-473d9bd0cb085dee2fc73506ccdfce990aeee147.zip
Use modern casts in C++ code
Diffstat (limited to 'ganv/Item.hpp')
-rw-r--r--ganv/Item.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ganv/Item.hpp b/ganv/Item.hpp
index 1d090d3..ebeb865 100644
--- a/ganv/Item.hpp
+++ b/ganv/Item.hpp
@@ -81,7 +81,7 @@ private:
GdkEvent* ev,
void* item)
{
- return ((Item*)item)->signal_event().emit(ev);
+ return static_cast<Item*>(item)->signal_event().emit(ev);
}
};