Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#ActualFGFS

Posted 04 August 2013 - 01:16 AM

deleted


#2FGFS

Posted 04 August 2013 - 12:18 AM

Well I've a function alike:

 

void SDatabase::getIls(const std::string &id,  StdWaypointList *list)

 

now I need to figure *list which is declared as:

 

typedef vector<Waypoint*> StdWaypointList;

 

The function pushes back list hence I might not need a return value? For a start I need to pass list as argument. Thanks

 

The error I get is:

 

Multiple markers at this line
    - candidate is:
    - no matching function for call to ‘SDatabase::getIls(const string*, StdWaypointList*&)’
    - Invalid arguments ' Candidates are: void getIls(const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &,
     std::vector<Waypoint *,std::allocator<Waypoint *>> *) '


#1FGFS

Posted 03 August 2013 - 10:48 AM

Well I've a function alike:

 

void SDatabase::getIls(const std::string &id,  StdWaypointList *list)

 

now I need to figure *list which is declared as:

 

typedef vector<Waypoint*> StdWaypointList;

 

The function pushes back list hence I might not need a return value? For a start I need to pass list as argument. Thanks


PARTNERS