summaryrefslogtreecommitdiffhomepage
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
parent4a78249614a406694e444565fa74f359f2e3570d (diff)
fix comments
-rw-r--r--tracker-pt/pt-api.hpp2
-rw-r--r--variant/default/main-window.cpp8
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()