From 01ac3f7646cc2309fc6ad417239b33971b128f38 Mon Sep 17 00:00:00 2001 From: bolero-MURAKAMI Date: Tue, 17 Jul 2012 17:38:45 +0900 Subject: [PATCH] fix spectrum includes --- sprout/numeric/dft/fit/spectrum.hpp | 2 ++ sprout/numeric/dft/fixed/spectrum.hpp | 2 ++ sprout/string/io.hpp | 6 ++++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sprout/numeric/dft/fit/spectrum.hpp b/sprout/numeric/dft/fit/spectrum.hpp index d620c1c6..7e693ef6 100644 --- a/sprout/numeric/dft/fit/spectrum.hpp +++ b/sprout/numeric/dft/fit/spectrum.hpp @@ -22,4 +22,6 @@ namespace sprout { } // namespace fit } // namespace sprout +#include + #endif // #ifndef SPROUT_NUMERIC_DFT_FIT_SPECTRUM_HPP diff --git a/sprout/numeric/dft/fixed/spectrum.hpp b/sprout/numeric/dft/fixed/spectrum.hpp index b3d7ab83..eff8c7f9 100644 --- a/sprout/numeric/dft/fixed/spectrum.hpp +++ b/sprout/numeric/dft/fixed/spectrum.hpp @@ -25,4 +25,6 @@ namespace sprout { using sprout::fixed::spectrum; } // namespace sprout +#include + #endif // #ifndef SPROUT_NUMERIC_DFT_FIXED_SPECTRUM_HPP diff --git a/sprout/string/io.hpp b/sprout/string/io.hpp index 7ae1a389..c28601a7 100644 --- a/sprout/string/io.hpp +++ b/sprout/string/io.hpp @@ -12,7 +12,8 @@ namespace sprout { // operator<< // template - inline std::basic_istream& operator>>(std::basic_istream& lhs, sprout::basic_string& rhs) { + inline std::basic_istream& + operator>>(std::basic_istream& lhs, sprout::basic_string& rhs) { typedef T elem_type; typedef StreamTraits traits_type; typedef std::basic_istream istream_type; @@ -57,7 +58,8 @@ namespace sprout { return lhs; } template - inline std::basic_ostream& operator<<(std::basic_ostream& lhs, sprout::basic_string const& rhs) { + inline std::basic_ostream& + operator<<(std::basic_ostream& lhs, sprout::basic_string const& rhs) { return lhs << rhs.c_str(); } } // namespace sprout