diff options
author | Christian Parpart <christian@ethereum.org> | 2018-12-12 21:51:22 +0800 |
---|---|---|
committer | Christian Parpart <christian@ethereum.org> | 2018-12-19 18:26:42 +0800 |
commit | 62fe57479e7d8949e4ed2e0efb31238d5d8d6d0a (patch) | |
tree | c2592dc9a8a1abae524717c0d081e51bf1ed3c24 /libyul/Dialect.h | |
parent | d10bae245ed441314c3bd6ecc74b2a1f3d060d12 (diff) | |
download | dexon-solidity-62fe57479e7d8949e4ed2e0efb31238d5d8d6d0a.tar.gz dexon-solidity-62fe57479e7d8949e4ed2e0efb31238d5d8d6d0a.tar.zst dexon-solidity-62fe57479e7d8949e4ed2e0efb31238d5d8d6d0a.zip |
make use of C++ `= default` constructor declarations as well as more non-static member initialization syntax.
Diffstat (limited to 'libyul/Dialect.h')
-rw-r--r-- | libyul/Dialect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libyul/Dialect.h b/libyul/Dialect.h index 2def566c..01fd98df 100644 --- a/libyul/Dialect.h +++ b/libyul/Dialect.h @@ -54,7 +54,7 @@ struct Dialect: boost::noncopyable virtual BuiltinFunction const* builtin(YulString /*_name*/) const { return nullptr; } Dialect(AsmFlavour _flavour): flavour(_flavour) {} - virtual ~Dialect() {} + virtual ~Dialect() = default; static std::shared_ptr<Dialect> yul() { |