Commit 1695d706 by U+039b

Various fixes

parent e86998fa
......@@ -59,21 +59,7 @@ namespace esther{
std::cout << ss->str();
std::cout << "----" << std::endl;
#endif
esther::plm::ServiceInstance pr;
try {
cereal::JSONInputArchive archive(*ss);
pr.serialize(archive);
} catch (std::exception& e) {
return 1;
}
this->instance_hash = pr.hash;
#ifdef DEBUG
std::cout << "pr.hash " << pr.hash << std::endl;
std::cout << "pr.uri " << pr.uri << std::endl;
std::cout << "pr.status " << pr.status << std::endl;
#endif
return 0;
};
inline
......@@ -104,21 +90,7 @@ namespace esther{
std::cout << ss->str();
std::cout << "----" << std::endl;
#endif
esther::plm::ServiceInstance pr;
try {
cereal::JSONInputArchive archive(*ss);
pr.serialize(archive);
} catch (std::exception& e) {
return 1;
}
this->instance_hash = pr.hash;
#ifdef DEBUG
std::cout << "pr.hash " << pr.hash << std::endl;
std::cout << "pr.uri " << pr.uri << std::endl;
std::cout << "pr.status " << pr.status << std::endl;
#endif
return 0;
};
inline
......
Markdown is supported
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