Commit 1472562e authored by soniayukiselmi's avatar soniayukiselmi
Browse files

FIX BUG change make_pair to pair

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@818 ec899d31-69d1-42ba-9299-647d76f65fb3
parent acd1c590
......@@ -60,8 +60,9 @@ public:
return false;
}
else {
mapObjectCreator.insert( std::make_pair<std::string,CreateMonitorDisplayFunctionPointer>(id, &createTheMonitorDisplay<C> ) );
displaysByType[type].push_back(id);
//mapObjectCreator.insert( std::make_pair<std::string,CreateMonitorDisplayFunctionPointer>(id, &createTheMonitorDisplay<C> ) );
mapObjectCreator.insert( std::pair<std::string,CreateMonitorDisplayFunctionPointer>(id, &createTheMonitorDisplay<C> ) );
displaysByType[type].push_back(id);
return true;
}
}
......@@ -79,8 +80,8 @@ public:
return false;
}
else {
mapObjectCreator.insert( std::make_pair<std::string,CreateMonitorDisplayFunctionPointer>(id, &createTheMonitorDisplay<C> ) );
//mapObjectCreator.insert( std::make_pair<std::string,CreateMonitorDisplayFunctionPointer>(id, &createTheMonitorDisplay<C> ) );
mapObjectCreator.insert( std::pair<std::string,CreateMonitorDisplayFunctionPointer>(id, &createTheMonitorDisplay<C> ) );
for (unsigned int i=0; i<Monitor::typeCount; i++) {
displaysByType[i].push_back(id);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment