aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore/IndentedWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdevcore/IndentedWriter.h')
-rw-r--r--libdevcore/IndentedWriter.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libdevcore/IndentedWriter.h b/libdevcore/IndentedWriter.h
index 4ddd87ed..563c4c96 100644
--- a/libdevcore/IndentedWriter.h
+++ b/libdevcore/IndentedWriter.h
@@ -34,8 +34,6 @@ DEV_SIMPLE_EXCEPTION(IndentedWriterError);
class IndentedWriter
{
public:
- explicit IndentedWriter(): m_lines(std::vector<Line>{{std::string(), 0}}) {}
-
// Returns the formatted output.
std::string format() const;
@@ -61,7 +59,7 @@ private:
unsigned indentation;
};
- std::vector<Line> m_lines;
+ std::vector<Line> m_lines{{std::string(), 0}};
};
}