Suppress conversion warnings on MSVC.

This commit is contained in:
Kohei Takahashi
2016-02-16 01:02:58 +09:00
parent 100d223be4
commit 4173b4b97b
20 changed files with 43 additions and 43 deletions

View File

@ -38,7 +38,7 @@ main()
{
char const* s = "Ruby";
typedef vector<int, short, double, long, char const*, float> vector_type;
vector_type t1(1, 2, 3.3, 4, s, 5.5);
vector_type t1(1, 2, 3.3, 4, s, 5.5f);
{
std::cout << replace_if(t1, gt3(), -456) << std::endl;