some code cleaning

This commit is contained in:
moneroexamples 2018-06-18 13:40:54 +08:00
parent dc1ddacc9c
commit ab12eb64dd
1 changed files with 2 additions and 25 deletions

View File

@ -116,35 +116,12 @@ namespace std
/**
* visitor to produc json representations of
* vallues stored in mstch::node
* visitor to produce json representations of
* values stored in mstch::node
*/
class mstch_node_to_json: public boost::static_visitor<nlohmann::json> {
public:
// json operator()(const int& value) const {
// return json {value};
// }
//
// json operator()(const double& value) const {
// return json {value};
// }
//
// json operator()(const uint64_t& value) const {
// return json {value};
// }
//
// json operator()(const int64_t& value) const {
// return json {value};
// }
//
// json operator()(const uint32_t& value) const {
// return json {value};
// }
//
// json operator()(const bool& value) const {
// return json {value};
// }
// enabled for numeric types
template<typename T>