mirror of
https://github.com/boostorg/core.git
synced 2025-05-11 05:07:39 +00:00
Avoid size_t to int conversion warning in visit_each_test.cpp
This commit is contained in:
parent
847f9d43fe
commit
8299d25eb2
@ -45,7 +45,7 @@ struct V
|
|||||||
|
|
||||||
void operator()( std::string const & w )
|
void operator()( std::string const & w )
|
||||||
{
|
{
|
||||||
s_ = s_ * 10 + w.size();
|
s_ = s_ * 10 + static_cast<int>( w.size() );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user