diff --git a/glm/gtx/io.hpp b/glm/gtx/io.hpp index 52b27a8f..f035a176 100644 --- a/glm/gtx/io.hpp +++ b/glm/gtx/io.hpp @@ -68,8 +68,8 @@ namespace glm public: - explicit basic_state_saver(std::basic_ios&); - ~basic_state_saver(); + GLM_FUNC_DECL explicit basic_state_saver(std::basic_ios&); + GLM_FUNC_DECL ~basic_state_saver(); private: @@ -86,7 +86,7 @@ namespace glm char_type fill_; locale_type locale_; - basic_state_saver& operator=(basic_state_saver const&); + GLM_FUNC_DECL basic_state_saver& operator=(basic_state_saver const&); }; typedef basic_state_saver state_saver; @@ -97,14 +97,14 @@ namespace glm { public: - explicit basic_format_saver(std::basic_ios&); - ~basic_format_saver(); + GLM_FUNC_DECL explicit basic_format_saver(std::basic_ios&); + GLM_FUNC_DECL ~basic_format_saver(); private: basic_state_saver const bss_; - basic_format_saver& operator=(basic_format_saver const&); + GLM_FUNC_DECL basic_format_saver& operator=(basic_format_saver const&); }; typedef basic_format_saver format_saver; @@ -114,14 +114,14 @@ namespace glm { unsigned value; - explicit precision(unsigned); + GLM_FUNC_DECL explicit precision(unsigned); }; struct width { unsigned value; - explicit width(unsigned); + GLM_FUNC_DECL explicit width(unsigned); }; template @@ -129,14 +129,14 @@ namespace glm { CTy value[3]; - explicit delimeter(CTy /* left */, CTy /* right */, CTy /* separator */ = ','); + GLM_FUNC_DECL explicit delimeter(CTy /* left */, CTy /* right */, CTy /* separator */ = ','); }; struct order { order_type value; - explicit order(order_type); + GLM_FUNC_DECL explicit order(order_type); }; // functions, inlined (inline) diff --git a/glm/gtx/io.inl b/glm/gtx/io.inl index 849c0ca5..9b70a5fd 100644 --- a/glm/gtx/io.inl +++ b/glm/gtx/io.inl @@ -228,8 +228,7 @@ namespace detail namespace detail { template class M, typename T, precision P> - GLM_FUNC_QUALIFIER std::basic_ostream& - print_matrix_on(std::basic_ostream& os, M const& a) + GLM_FUNC_QUALIFIER std::basic_ostream& print_matrix_on(std::basic_ostream& os, M const& a) { typename std::basic_ostream::sentry const cerberus(os); @@ -371,8 +370,7 @@ namespace detail namespace detail { template class M, typename T, precision P> - GLM_FUNC_QUALIFIER std::basic_ostream& - print_matrix_pair_on(std::basic_ostream& os, std::pair const, M const> const& a) + GLM_FUNC_QUALIFIER std::basic_ostream& print_matrix_pair_on(std::basic_ostream& os, std::pair const, M const> const& a) { typename std::basic_ostream::sentry const cerberus(os);