mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 07:22:19 +02:00
Fixing the mac build
This commit is contained in:
parent
cdfe9788d1
commit
416df1c44c
2 changed files with 5 additions and 5 deletions
|
@ -76,7 +76,7 @@ namespace controller {
|
|||
}
|
||||
|
||||
Filter* create(const std::string& name) const {
|
||||
auto& entryIt = _entries.find(name);
|
||||
const auto& entryIt = _entries.find(name);
|
||||
if (entryIt != _entries.end()) {
|
||||
return (*entryIt).second->create();
|
||||
}
|
||||
|
|
|
@ -121,12 +121,12 @@ QObject* RouteBuilderProxy::filters(const QJsonValue& json) {
|
|||
}
|
||||
|
||||
void RouteBuilderProxy::to(const QJsonValue& json) {
|
||||
if (json.isString()) {
|
||||
|
||||
return to(_parent.endpointFor(_parent.inputFor(json.toString())));
|
||||
if (json.isString()) {
|
||||
|
||||
return to(_parent.endpointFor(_parent.inputFor(json.toString())));
|
||||
} else if (json.isObject()) {
|
||||
// Endpoint is defined as an object, we expect a js function then
|
||||
return to(nullptr);
|
||||
//return to((Endpoint*) nullptr);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue