Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dovahkin@skylake:~/Bouncer$ make
- [g++] src/authorizer.cc
- src/authorizer.cc: In member function βint authorizer::login_connection(conn*, const char*, const char*)β:
- src/authorizer.cc:157:21: error: call of overloaded βcopy_if(std::vector<ruleset*>::iterator, std::vector<ruleset*>::iterator, std::back_insert_iterator<std::vector<ruleset*> >, match_helper)β is ambiguous
- match_helper(this));
- ^
- In file included from src/authorizer.cc:15:0:
- include/util/generic.h:84:6: note: candidate: Out util::copy_if(In, In, Out, Pred) [with In = __gnu_cxx::__normal_iterator<ruleset**, std::vector<ruleset*> >; Out = std::back_insert_iterator<std::vector<ruleset*> >; Pred = match_helper]
- Out copy_if(In first, In last, Out res, Pred p)
- ^~~~~~~
- In file included from /usr/include/c++/6/algorithm:62:0,
- from src/authorizer.cc:14:
- /usr/include/c++/6/bits/stl_algo.h:734:5: note: candidate: _OIter std::copy_if(_IIter, _IIter, _OIter, _Predicate) [with _IIter = __gnu_cxx::__normal_iterator<ruleset**, std::vector<ruleset*> >; _OIter = std::back_insert_iterator<std::vector<ruleset*> >; _Predicate = match_helper]
- copy_if(_InputIterator __first, _InputIterator __last,
- ^~~~~~~
- Makefile:173: recipe for target 'src/authorizer.o' failed
- make: *** [src/authorizer.o] Error 1
- dovahkin@skylake:~/Bouncer$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement