All pastes #577383 Raw Edit

Untitled

public text v1 · immutable
·published 2007-06-19 21:40 UTC
rendered paste body
bool dllManage::removeModules(std::vector<std::string> &strvec)
{
	std::vector<std::string>::iterator iter = dllToInject.begin();
	if(!strvec.empty())
	{
		std::vector<std::string>::iterator strIt;
		for(strIt = strvec.begin(); strIt != strvec.end(); strIt++)
		{
			//std::string &rEntry = (*strIt);
			if(iter = std::find(dllToInject.begin(),dllToInject.end(), strIt))
			{
				dllToInject.erase(iter);
			}

		}
		return true;
	}
	return false;
}