diff options
author | David Robillard <d@drobilla.net> | 2010-12-04 23:01:58 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-04 23:01:58 +0000 |
commit | 8ee352054cff3512c8e6dc3fd4738ee24ad267af (patch) | |
tree | 4b87b064a689815b790c42d6c20208b56dcfc285 /src/resp.hpp | |
parent | 7bbb36a7085576958993cc6c394d5af8455a948d (diff) | |
download | resp-8ee352054cff3512c8e6dc3fd4738ee24ad267af.tar.gz resp-8ee352054cff3512c8e6dc3fd4738ee24ad267af.tar.bz2 resp-8ee352054cff3512c8e6dc3fd4738ee24ad267af.zip |
More const-correctness.
git-svn-id: http://svn.drobilla.net/resp/resp@295 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/resp.hpp')
-rw-r--r-- | src/resp.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resp.hpp b/src/resp.hpp index c629cc8..2756f23 100644 --- a/src/resp.hpp +++ b/src/resp.hpp @@ -845,9 +845,9 @@ struct CEnv { CFunc currentFn; ///< Currently compiling function struct FreeVars : public std::vector<const ASymbol*> { - FreeVars(ATuple* f, const std::string& n) : fn(f), implName(n) {} - ATuple* const fn; - const std::string implName; + FreeVars(const ATuple* f, const std::string& n) : fn(f), implName(n) {} + const ATuple* const fn; + const std::string implName; int32_t index(const ASymbol* sym) { const_iterator i = find(begin(), end(), sym); if (i != end()) { |