From 62fe57479e7d8949e4ed2e0efb31238d5d8d6d0a Mon Sep 17 00:00:00 2001 From: Christian Parpart Date: Wed, 12 Dec 2018 14:51:22 +0100 Subject: make use of C++ `= default` constructor declarations as well as more non-static member initialization syntax. --- liblll/CodeFragment.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'liblll') diff --git a/liblll/CodeFragment.h b/liblll/CodeFragment.h index e6e4d3b6..5c2f49a6 100644 --- a/liblll/CodeFragment.h +++ b/liblll/CodeFragment.h @@ -41,7 +41,7 @@ class CodeFragment public: using ReadCallback = std::function; - CodeFragment() {} + CodeFragment() = default; CodeFragment(sp::utree const& _t, CompilerState& _s, ReadCallback const& _readFile, bool _allowASM = false); static CodeFragment compile(std::string const& _src, CompilerState& _s, ReadCallback const& _readFile); -- cgit v1.2.3