Add .travis.yml
This commit is contained in:
parent
ce7d200a7c
commit
1420abc81b
14 changed files with 82 additions and 13 deletions
|
|
@ -138,7 +138,7 @@ unsigned test_visit(const cppast::cpp_file& file, Func f, bool check_code = true
|
|||
template <class Entity>
|
||||
unsigned count_children(const Entity& cont)
|
||||
{
|
||||
return std::distance(cont.begin(), cont.end());
|
||||
return unsigned(std::distance(cont.begin(), cont.end()));
|
||||
}
|
||||
|
||||
// ignores templated scopes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue