Fusion: silenced a couple of MSVC warnings created during Spirit test runs

[SVN r57502]
This commit is contained in:
Hartmut Kaiser
2009-11-09 03:57:40 +00:00
parent 65895017bd
commit 03290abb85
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_)
{
}