summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/pt-api.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-06-05 08:38:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-06-13 07:02:53 +0200
commit0c944eebbe7d0416d1329f7dbfd734b412979422 (patch)
tree704098d082fdee07eaa19f47db7c41a6e631adc3 /tracker-pt/pt-api.hpp
parent4a78249614a406694e444565fa74f359f2e3570d (diff)
fix comments
Diffstat (limited to 'tracker-pt/pt-api.hpp')
-rw-r--r--tracker-pt/pt-api.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/pt-api.hpp b/tracker-pt/pt-api.hpp
index ba200253..621d9160 100644
--- a/tracker-pt/pt-api.hpp
+++ b/tracker-pt/pt-api.hpp
@@ -43,7 +43,7 @@ struct pt_frame : pt_pixel_pos_mixin
t* as() &
{
using u = std::decay_t<t>;
- static_assert(std::is_convertible_v<u*, pt_frame*>, "must be derived from pt_image");
+ static_assert(std::is_convertible_v<u*, pt_frame*>, "must be derived from pt_frame");
return static_cast<t*>(this);
}