diff --git a/components/detournavigator/debug.hpp b/components/detournavigator/debug.hpp index 460e224350..05d212e2f6 100644 --- a/components/detournavigator/debug.hpp +++ b/components/detournavigator/debug.hpp @@ -3,9 +3,10 @@ #include "tilebounds.hpp" +#include + #include #include -#include #include #include diff --git a/components/osghelpers/operators.hpp b/components/osghelpers/operators.hpp deleted file mode 100644 index fdb0227ead..0000000000 --- a/components/osghelpers/operators.hpp +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef OPENMW_COMPONENTS_OSGHELPERS_OPERATORS_H -#define OPENMW_COMPONENTS_OSGHELPERS_OPERATORS_H - -#include -#include -#include - -#include -#include -#include - -namespace osg -{ - inline std::ostream& operator <<(std::ostream& stream, const Vec2i& value) - { - return stream << "osg::Vec2i(" << value.x() << ", " << value.y() << ")"; - } - - inline std::ostream& operator <<(std::ostream& stream, const Vec2f& value) - { - return stream << "osg::Vec2f(" << std::setprecision(std::numeric_limits::max_exponent10) << value.x() - << ", " << std::setprecision(std::numeric_limits::max_exponent10) << value.y() - << ')'; - } - - inline std::ostream& operator <<(std::ostream& stream, const Vec3f& value) - { - return stream << "osg::Vec3f(" << std::setprecision(std::numeric_limits::max_exponent10) << value.x() - << ", " << std::setprecision(std::numeric_limits::max_exponent10) << value.y() - << ", " << std::setprecision(std::numeric_limits::max_exponent10) << value.z() - << ')'; - } -} - -#endif