Fusion: merged fixes for MSVC warnings from trunk

[SVN r57533]
This commit is contained in:
Hartmut Kaiser
2009-11-10 02:37:19 +00:00
parent b22e2b64da
commit b605617c4f
10 changed files with 40 additions and 8 deletions

View File

@ -35,7 +35,7 @@ namespace boost { namespace fusion { namespace detail
template <typename IS>
static void
read(IS& is, char const* delim, mpl::true_)
read(IS&, char const*, mpl::true_)
{
}
};
@ -44,7 +44,7 @@ namespace boost { namespace fusion { namespace detail
{
template <typename IS, typename First, typename Last>
static void
call(IS& is, First const&, Last const&, mpl::true_)
call(IS&, First const&, Last const&, mpl::true_)
{
}

View File

@ -146,6 +146,10 @@ namespace boost { namespace fusion
}
Stream& stream;
private:
// silence MSVC warning C4512: assignment operator could not be generated
string_ios_manip& operator= (string_ios_manip const&);
};
} // detail

View File

@ -35,7 +35,7 @@ namespace boost { namespace fusion { namespace detail
template <typename OS>
static void
print(OS& os, char const* delim, mpl::true_)
print(OS&, char const*, mpl::true_)
{
}
};
@ -44,7 +44,7 @@ namespace boost { namespace fusion { namespace detail
{
template <typename OS, typename First, typename Last>
static void
call(OS& os, First const&, Last const&, mpl::true_)
call(OS&, First const&, Last const&, mpl::true_)
{
}