summaryrefslogtreecommitdiff
path: root/src/resources/beingcommon.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-12 13:35:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-12 13:35:32 +0300
commitdbf80cecba66c3171ccebb6c22d85c3b52637882 (patch)
tree18757d1b8237c4f5e5580fe9de5b67d4b011ac25 /src/resources/beingcommon.h
parent18ba68228c2a8bce02a7bce1569be9998570d5f2 (diff)
downloadmanaverse-dbf80cecba66c3171ccebb6c22d85c3b52637882.tar.gz
manaverse-dbf80cecba66c3171ccebb6c22d85c3b52637882.tar.bz2
manaverse-dbf80cecba66c3171ccebb6c22d85c3b52637882.tar.xz
manaverse-dbf80cecba66c3171ccebb6c22d85c3b52637882.zip
fix compilation warnings.
Diffstat (limited to 'src/resources/beingcommon.h')
-rw-r--r--src/resources/beingcommon.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/beingcommon.h b/src/resources/beingcommon.h
index 15bab1a34..5fb1df71b 100644
--- a/src/resources/beingcommon.h
+++ b/src/resources/beingcommon.h
@@ -30,11 +30,11 @@
class BeingInfo;
#define loadXmlDir(name, function) \
- StringVect list; \
+ StringVect listVect; \
BeingCommon::getIncludeFiles(paths.getStringValue( \
- name), list); \
- FOR_EACH (StringVectCIter, it, list) \
- function(*it);
+ name), listVect); \
+ FOR_EACH (StringVectCIter, itVect, listVect) \
+ function(*itVect);
namespace BeingCommon
{