Advertisement
Guest User

EZBounce Error

a guest
Dec 6th, 2017
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.34 KB | None | 0 0
  1. dovahkin@skylake:~/Bouncer$ make
  2.   [g++]    src/authorizer.cc
  3. src/authorizer.cc: In member function β€˜int authorizer::login_connection(conn*, const char*, const char*)’:
  4. 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
  5.    match_helper(this));
  6.                      ^
  7. In file included from src/authorizer.cc:15:0:
  8. 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]
  9.   Out copy_if(In first, In last, Out res, Pred p)
  10.       ^~~~~~~
  11. In file included from /usr/include/c++/6/algorithm:62:0,
  12.                  from src/authorizer.cc:14:
  13. /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]
  14.      copy_if(_InputIterator __first, _InputIterator __last,
  15.      ^~~~~~~
  16. Makefile:173: recipe for target 'src/authorizer.o' failed
  17. make: *** [src/authorizer.o] Error 1
  18. dovahkin@skylake:~/Bouncer$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement