Fix build with STLPort from NDK r8d

This commit is contained in:
Andrey Kamaev
2012-12-21 19:58:51 +04:00
parent ffdbddd6b1
commit 9944282b09
18 changed files with 47 additions and 33 deletions

View File

@@ -32,7 +32,7 @@ public:
ifstream f(path.c_str());
if (!f.is_open())
throw runtime_error("can't open motions file: " + path);
int size; f >> size;
int size = 0; f >> size;
motions_.resize(size);
for (int i = 0; i < size; ++i)
{