diff options
-rw-r--r-- | tracker-pt/pt-api.hpp | 2 | ||||
-rw-r--r-- | variant/default/main-window.cpp | 8 |
2 files changed, 5 insertions, 5 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); } diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp index 51c62349..7b5ea101 100644 --- a/variant/default/main-window.cpp +++ b/variant/default/main-window.cpp @@ -33,10 +33,6 @@ extern "C" const char* const opentrack_version; # define EXIT_FAILURE 1 #endif -#if !defined EX_OSFILE -# define EX_OSFILE 72 -#endif - /* FreeBSD sysexits(3) * * The input data was incorrect in some way. This @@ -44,6 +40,10 @@ extern "C" const char* const opentrack_version; * files. */ +#if !defined EX_OSFILE +# define EX_OSFILE 72 +#endif + #if !defined _WIN32 # include <unistd.h> void main_window::annoy_if_root() |