summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dlua.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-06-20 21:41:42 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-06-20 21:41:42 +0200
commitfb5802231e98a82fb434fb775ac55b104485e91c (patch)
tree300713c42a90fc789c942ee0fe34f64800f2b1c3 /crawl-ref/source/dlua.cc
parent7ed7668902bff99c68bc08fb52e5b7f45438358b (diff)
downloadcrawl-ref-fb5802231e98a82fb434fb775ac55b104485e91c.tar.gz
crawl-ref-fb5802231e98a82fb434fb775ac55b104485e91c.zip
Placate clang's warnings about shadowing class variables in class functions.
Diffstat (limited to 'crawl-ref/source/dlua.cc')
-rw-r--r--crawl-ref/source/dlua.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/dlua.cc b/crawl-ref/source/dlua.cc
index 4d0b071618..5d75502cd6 100644
--- a/crawl-ref/source/dlua.cc
+++ b/crawl-ref/source/dlua.cc
@@ -49,10 +49,10 @@ dlua_chunk::dlua_chunk(lua_State *ls)
compiled = out.str();
}
-dlua_chunk dlua_chunk::precompiled(const std::string &chunk)
+dlua_chunk dlua_chunk::precompiled(const std::string &_chunk)
{
dlua_chunk dchunk;
- dchunk.compiled = chunk;
+ dchunk.compiled = _chunk;
return (dchunk);
}