Suppress conversion warnings on MSVC.

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

No files matched your search

+1 -1
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;