Commit ef6430f1 authored by Marian Triebe's avatar Marian Triebe Committed by Dominik Charousset

Fix usage of using (DRY)

parent e3af9ab1
...@@ -238,7 +238,7 @@ void node_id::from_string(const std::string& str) { ...@@ -238,7 +238,7 @@ void node_id::from_string(const std::string& str) {
struct hex_byte_iter : std::iterator<std::input_iterator_tag, uint8_t> { struct hex_byte_iter : std::iterator<std::input_iterator_tag, uint8_t> {
using const_iterator = std::string::const_iterator; using const_iterator = std::string::const_iterator;
const_iterator i; const_iterator i;
hex_byte_iter(std::string::const_iterator x) : i(x) { hex_byte_iter(const_iterator x) : i(x) {
// nop // nop
} }
uint8_t operator*() const { uint8_t operator*() const {
......
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