diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-30 18:19:29 +0100 |
---|---|---|
committer | Andreas Stöckel <andreas@somweyr.de> | 2015-01-30 18:19:29 +0100 |
commit | 97e1f7542f9f7a0257d228311b0f7a4b4515e77c (patch) | |
tree | f07867bf969f45255c615e1a17f0b3e1c7b0b97d /src | |
parent | 6cde9cfcf21e18cd175008029432b91143578033 (diff) |
Fixed setIntersection in ResourceRequest
Diffstat (limited to 'src')
-rw-r--r-- | src/core/resource/ResourceRequest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/resource/ResourceRequest.cpp b/src/core/resource/ResourceRequest.cpp index b047082..f820bc3 100644 --- a/src/core/resource/ResourceRequest.cpp +++ b/src/core/resource/ResourceRequest.cpp @@ -178,7 +178,7 @@ bool ResourceRequest::deduce(Registry ®istry, Logger &logger) } // Limit the supportedTypes to those returned by the parser - supportedTypes = Rtti::setIntersection(supportedTypes, parserTypes); + supportedTypes = Rtti::setIntersection(parserTypes, supportedTypes); if (supportedTypes.empty()) { logger.error(std::string("Cannot include or link a file of type \"") + mimetype + std::string("\" here!")); |