Posted May 12, 2015
ssokolow: Got this error when I tried to update.
src/util.cpp: In function ‘void Util::getDownloaderUrlsFromJSON(const Json::Value&, std::vector<std::basic_string<char> >&)’:
src/util.cpp:353:34: error: base operand of ‘->’ has non-pointer type ‘Json::ValueIterator’
urls.push_back(it->asString());
^
make: *** [obj/Debug/src/util.o] Error 1
ssokolow: According to git pull, I was trying to update from d978498 to b5cdf10 so here's the relevant log excerpt:
I'm on Lubuntu 14.04
Does this fix the issue? src/util.cpp: In function ‘void Util::getDownloaderUrlsFromJSON(const Json::Value&, std::vector<std::basic_string<char> >&)’:
src/util.cpp:353:34: error: base operand of ‘->’ has non-pointer type ‘Json::ValueIterator’
urls.push_back(it->asString());
^
make: *** [obj/Debug/src/util.o] Error 1
I'm on Lubuntu 14.04
cd0a829 Don't use the iterator directly in Util::getDownloaderUrlsFromJSON