Skip to content
Snippets Groups Projects
Commit f72e67d3 authored by Cyril Moineau's avatar Cyril Moineau Committed by Maxence Naud
Browse files

Remove unused vairable.

parent 2d0456f0
No related branches found
No related tags found
2 merge requests!105version 0.2.0,!85Initial working python registrar.
...@@ -59,7 +59,7 @@ struct Registrar { ...@@ -59,7 +59,7 @@ struct Registrar {
Registrar(const registrar_key& key, registrar_type func) { Registrar(const registrar_key& key, registrar_type func) {
//printf("REGISTRAR: %s\n", key.c_str()); //printf("REGISTRAR: %s\n", key.c_str());
bool newInsert; // bool newInsert;
// std::tie(std::ignore, newInsert) = C::registry().insert(std::make_pair(key, func)); // std::tie(std::ignore, newInsert) = C::registry().insert(std::make_pair(key, func));
C::registry().erase(key); C::registry().erase(key);
C::registry().insert(std::make_pair(key, func)); C::registry().insert(std::make_pair(key, func));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment