aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-12-06 09:39:58 +0800
committerChristian <c@ethdev.com>2014-12-08 20:29:14 +0800
commita15b03e991453d03eb8dfd41f2729642aee3bb8d (patch)
treedbaafe4f0b477fc1f2f80a36a251e7d119276c1b /Types.h
parente0ed942519fbf3a5be106fae2d1906b9c217df95 (diff)
downloaddexon-solidity-a15b03e991453d03eb8dfd41f2729642aee3bb8d.tar.gz
dexon-solidity-a15b03e991453d03eb8dfd41f2729642aee3bb8d.tar.zst
dexon-solidity-a15b03e991453d03eb8dfd41f2729642aee3bb8d.zip
Some more consts.
Diffstat (limited to 'Types.h')
-rw-r--r--Types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Types.h b/Types.h
index 42ead008..f4ad804d 100644
--- a/Types.h
+++ b/Types.h
@@ -279,7 +279,7 @@ public:
virtual bool canLiveOutsideStorage() const override { return false; }
virtual unsigned getSizeOnStack() const override;
- Location getLocation() const { return m_location; }
+ Location const& getLocation() const { return m_location; }
private:
TypePointers m_parameterTypes;