aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal/SymbolicVariable.cpp
diff options
context:
space:
mode:
authorLeonardo Alt <leo@ethereum.org>2018-10-18 21:03:52 +0800
committerLeonardo Alt <leo@ethereum.org>2018-10-19 21:52:16 +0800
commitb46b827c30584968c6815b456b8c0c775c35ae48 (patch)
tree7ea55c6c685cc81779d5dd7bc3f44da22918840e /libsolidity/formal/SymbolicVariable.cpp
parentc13b5280c1b44f18a2a1fb61ef5556e91c5678e7 (diff)
downloaddexon-solidity-b46b827c30584968c6815b456b8c0c775c35ae48.tar.gz
dexon-solidity-b46b827c30584968c6815b456b8c0c775c35ae48.tar.zst
dexon-solidity-b46b827c30584968c6815b456b8c0c775c35ae48.zip
[SMTChecker] Support msg.*, tx.*, block.*, gasleft and blockhash
Diffstat (limited to 'libsolidity/formal/SymbolicVariable.cpp')
-rw-r--r--libsolidity/formal/SymbolicVariable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/formal/SymbolicVariable.cpp b/libsolidity/formal/SymbolicVariable.cpp
index c042ec48..8259ffee 100644
--- a/libsolidity/formal/SymbolicVariable.cpp
+++ b/libsolidity/formal/SymbolicVariable.cpp
@@ -24,11 +24,11 @@ using namespace dev;
using namespace dev::solidity;
SymbolicVariable::SymbolicVariable(
- Type const& _type,
+ TypePointer _type,
string const& _uniqueName,
smt::SolverInterface& _interface
):
- m_type(_type),
+ m_type(move(_type)),
m_uniqueName(_uniqueName),
m_interface(_interface),
m_ssa(make_shared<SSAVariable>())