aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis/ViewPureChecker.h
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-05-11 16:40:32 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-07-04 16:14:58 +0800
commit7ea8365ab08fae7a30cfff55e7d53f78bb1a2c36 (patch)
tree444f47a91f7544bda9a1e5a6abf5d339daee7da9 /libsolidity/analysis/ViewPureChecker.h
parent533d5d4b1cc4374decc704de8c86ad4cef6214fc (diff)
downloaddexon-solidity-7ea8365ab08fae7a30cfff55e7d53f78bb1a2c36.tar.gz
dexon-solidity-7ea8365ab08fae7a30cfff55e7d53f78bb1a2c36.tar.zst
dexon-solidity-7ea8365ab08fae7a30cfff55e7d53f78bb1a2c36.zip
Remove v050 check for enforcing "view" in ViewPureChecker.
Diffstat (limited to 'libsolidity/analysis/ViewPureChecker.h')
-rw-r--r--libsolidity/analysis/ViewPureChecker.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libsolidity/analysis/ViewPureChecker.h b/libsolidity/analysis/ViewPureChecker.h
index 0b882cd8..3db52e7e 100644
--- a/libsolidity/analysis/ViewPureChecker.h
+++ b/libsolidity/analysis/ViewPureChecker.h
@@ -71,7 +71,6 @@ private:
ErrorReporter& m_errorReporter;
bool m_errors = false;
- bool m_enforceViewWithError = false;
StateMutability m_currentBestMutability = StateMutability::Payable;
FunctionDefinition const* m_currentFunction = nullptr;
std::map<ModifierDefinition const*, StateMutability> m_inferredMutability;