Updated Ghoul version

This commit is contained in:
Alexander Bock
2015-11-23 12:03:08 -05:00
parent 3806318b0d
commit 94663e7bf7
5 changed files with 6 additions and 7 deletions

View File

@@ -205,7 +205,7 @@ std::vector<DownloadManager::FileFuture*> DownloadManager::downloadRequestFiles(
DownloadProgressCallback progressCallback)
{
std::vector<FileFuture*> futures;
bool s = FileSys.createDirectory(destination, true);
FileSys.createDirectory(destination, true);
// TODO: Check s ---abock
// TODO: Escaping is necessary ---abock
const std::string fullRequest =_requestURL + "?" +

View File

@@ -260,8 +260,7 @@ bool OpenSpaceEngine::create(
if (!FileSys.directoryExists(token)) {
std::string p = absPath(token);
LDEBUG("Directory '" << p << "' does not exist, creating.");
if (!FileSys.createDirectory(p, true))
LERROR("Directory '" << p << "' could not be created");
FileSys.createDirectory(p, true);
}
}

View File

@@ -115,7 +115,7 @@ bool Property::setStringValue(std::string value) {
std::string Property::guiName() const {
std::string result;
_metaData.getValue(_metaDataKeyGuiName, result);
return std::move(result);
return result;
}
std::string Property::description() const {
@@ -129,7 +129,7 @@ void Property::setGroupIdentifier(std::string groupId) {
std::string Property::groupIdentifier() const {
std::string result;
_metaData.getValue(_metaDataKeyGroup, result);
return std::move(result);
return result;
}
void Property::setVisible(bool state) {

View File

@@ -67,7 +67,7 @@ std::vector<Property*> PropertyOwner::propertiesRecursive() const {
props.insert(props.end(), p.begin(), p.end());
}
return std::move(props);
return props;
}
Property* PropertyOwner::property(const std::string& id) const {