Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Untitled
SUBMITTED BY:
antoineh1
DATE:
May 14, 2016, 9:43 p.m.
FORMAT:
Text only
SIZE:
475 Bytes
Raw
Download
Tweet
HITS:
4644
Go to comments
Report
if (!current.empty()){
Dependency * temp = current.back();
if (std::find(this->dependents.begin(), this->dependents.end(), temp) == this->dependents.end()){
this->dependents.push_back(temp); //this is the line the compiler does not like
}
}
std::vector<Dependency *> dependents;
extern std::vector<Dependency *> current;
//this is the definition from the header file. It also resides in a cpp file without extern
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus