diff options
-rw-r--r-- | project2/files/presenterCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/files/presenterCache.cpp b/project2/files/presenterCache.cpp index b90e29d..9c8ace2 100644 --- a/project2/files/presenterCache.cpp +++ b/project2/files/presenterCache.cpp @@ -142,7 +142,7 @@ class FilePresenterCache : public PresenterCache, public StaticContent, public S unsigned int puc = Environment::getCurrent()->getParamUriCount(); key.get<0>().reserve(puc); for (unsigned int i = 0; i < puc; i += 1) { - key.get<0>()[i] = Environment::getCurrent()->getParamUri(i).raw(); + key.get<0>().push_back(Environment::getCurrent()->getParamUri(i).raw()); } applyKeys(boost::bind(&appendParams, &key.get<1>(), _1, _2)); return key; |