diff options
author | David Robillard <d@drobilla.net> | 2009-11-11 16:22:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-11-11 16:22:57 +0000 |
commit | 51bd05ac7064714426db39215e5fa3d73a9631e7 (patch) | |
tree | 9eeb5d676a146dea458dacb92afa086b34df2cc0 | |
parent | 9c7106a97f5b6e8324d5cae9accc1f38e0487ae6 (diff) | |
download | resp-51bd05ac7064714426db39215e5fa3d73a9631e7.tar.gz resp-51bd05ac7064714426db39215e5fa3d73a9631e7.tar.bz2 resp-51bd05ac7064714426db39215e5fa3d73a9631e7.zip |
Constiness.
git-svn-id: http://svn.drobilla.net/resp/tuplr@247 ad02d1e2-f140-0410-9f75-f8b11f17cedd
-rw-r--r-- | src/tuplr.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tuplr.hpp b/src/tuplr.hpp index 787355b..7d0bb6a 100644 --- a/src/tuplr.hpp +++ b/src/tuplr.hpp @@ -59,8 +59,8 @@ struct Cursor { struct Error { Error(Cursor c, const string& m) : loc(c), msg(m) {} const string what() const { return (loc ? loc.str() + ": " : "") + "error: " + msg; } - Cursor loc; - string msg; + const Cursor loc; + const string msg; }; /// Generic Lexical Environment |