diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-21 22:42:17 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-22 17:51:46 +0800 |
commit | 2a5772cff7d03de0d02c5358a6a6755e8f802697 (patch) | |
tree | a617c912a51e289b00f2c71f2754d15d451c3bb4 /libsolidity/codegen/ArrayUtils.h | |
parent | 3cf2426e1a2975a60176cb46040fccfbc182d771 (diff) | |
download | dexon-solidity-2a5772cff7d03de0d02c5358a6a6755e8f802697.tar.gz dexon-solidity-2a5772cff7d03de0d02c5358a6a6755e8f802697.tar.zst dexon-solidity-2a5772cff7d03de0d02c5358a6a6755e8f802697.zip |
Mark appropriate constructors explicit
Diffstat (limited to 'libsolidity/codegen/ArrayUtils.h')
-rw-r--r-- | libsolidity/codegen/ArrayUtils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ArrayUtils.h b/libsolidity/codegen/ArrayUtils.h index 806fbea7..f3ddc4ee 100644 --- a/libsolidity/codegen/ArrayUtils.h +++ b/libsolidity/codegen/ArrayUtils.h @@ -40,7 +40,7 @@ using TypePointer = std::shared_ptr<Type const>; class ArrayUtils { public: - ArrayUtils(CompilerContext& _context): m_context(_context) {} + explicit ArrayUtils(CompilerContext& _context): m_context(_context) {} /// Copies an array to an array in storage. The arrays can be of different types only if /// their storage representation is the same. |