diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-22 19:01:28 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-22 19:01:28 +0200 |
commit | f495b0136faf48d397138272eed683ade26187c9 (patch) | |
tree | ec171bcc93829ee74b034667b65667b4adc2828b /ftnoir_tracker_freepie-udp | |
parent | 69236c0317a30bf100ec4f3d0f8e58fdc565a34b (diff) |
const constexpr -> constexpr
Diffstat (limited to 'ftnoir_tracker_freepie-udp')
-rw-r--r-- | ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp index ccc74350..c1faebeb 100644 --- a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp +++ b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp @@ -46,7 +46,7 @@ void TrackerImpl::run() { int flags = data.flags & F::Mask; - constexpr int minsz = offsetof(decltype(data), raw_rot) + sizeof(decltype(data)::raw_rot); + static constexpr int minsz = offsetof(decltype(data), raw_rot) + sizeof(decltype(data)::raw_rot); const bool flags_came_out_wrong = minsz > sz; if (flags_came_out_wrong) |