diff --git a/quaternion.cpp b/quaternion.cpp index df03f42c..967a512d 100644 --- a/quaternion.cpp +++ b/quaternion.cpp @@ -356,17 +356,19 @@ cruft::operator<< (std::ostream &os, const quaternion q) /////////////////////////////////////////////////////////////////////////////// -namespace cruft::debug { - template - struct validator> { - static constexpr - bool - is_valid (const quaternion &q) - { - return is_normalised (q); - } - }; -} +template +struct cruft::debug::validator> { + static constexpr + bool + is_valid (const quaternion &q) + { + return is_normalised (q); + } +}; + + +//----------------------------------------------------------------------------- +template struct cruft::debug::validator<::cruft::quaternion>; ///////////////////////////////////////////////////////////////////////////////