bool dllManage::removeModules(std::vector &strvec) { std::vector::iterator iter = dllToInject.begin(); if(!strvec.empty()) { std::vector::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; }