Attempt to fix gcc warning
This commit is contained in:
parent
ea0a9ff43b
commit
dd1f7a69e1
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ namespace {
|
|||
replace_range_h(std::vector<config>& source) : datasource_(source) { }
|
||||
result_type operator()(config& child, const std::string& key, int startindex, int endindex) const
|
||||
{
|
||||
assert(startindex <= endindex);
|
||||
assert(endindex - startindex >= 0);
|
||||
if (endindex > 0)
|
||||
{
|
||||
//NOTE: currently this is nonly called from as_range_visitor_base<vit_create_if_not_existent>
|
||||
|
|
Loading…
Add table
Reference in a new issue