1
0
Fork 0

Avoid shadowing parameter.

This commit is contained in:
david 2002-10-18 19:26:38 +00:00
parent b2ee8d6fa3
commit 8f9fd4137d

View file

@ -17,11 +17,11 @@ VpfLibrary::VpfLibrary (const std::string &path, const VpfDataBase &database)
_tileref_aft(0), _tileref_aft(0),
_tileref_fbr(0) _tileref_fbr(0)
{ {
string path = getChildFileName("tileref"); string fullpath = getChildFileName("tileref");
if (hasFile(path, "tileref.aft")) if (hasFile(fullpath, "tileref.aft"))
_tileref_aft = getTable(getFileName(path, "tileref.aft")); _tileref_aft = getTable(getFileName(fullpath, "tileref.aft"));
if (hasFile(path, "fbr")) if (hasFile(fullpath, "fbr"))
_tileref_fbr = getTable(getFileName(path, "fbr")); _tileref_fbr = getTable(getFileName(fullpath, "fbr"));
} }
VpfLibrary::VpfLibrary (const VpfLibrary &library) VpfLibrary::VpfLibrary (const VpfLibrary &library)