]> git.localhorst.tv Git - blank.git/commitdiff
fix Location for debug build
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 9 Nov 2015 10:38:03 +0000 (11:38 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 9 Nov 2015 10:38:03 +0000 (11:38 +0100)
src/geometry/Location.hpp

index 7dbff69a55bf9e3bceabbb827102868627708272..43d94dcdd439a799731c93eb9338cd384530e2c1 100644 (file)
@@ -60,6 +60,9 @@ struct Location {
 
 };
 
+template<class T> constexpr typename Location<T>::CoarseScalar Location<T>::scale;
+template<class T> constexpr typename Location<T>::FineScalar Location<T>::fscale;
+
 template<class T>
 inline Location<T> &Location<T>::Correct() noexcept {
        while (block.x >= fscale) {