mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 23:40:11 +02:00
Fix mac warning for std::move on temporary object
This commit is contained in:
parent
8792824960
commit
b960b66542
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
#include "ModelFormatRegistry.h"
|
#include "ModelFormatRegistry.h"
|
||||||
|
|
||||||
void ModelFormatRegistry::addFormat(const hfm::Serializer& serializer) {
|
void ModelFormatRegistry::addFormat(const hfm::Serializer& serializer) {
|
||||||
_hfmFormatRegistry.registerMediaType(serializer.getMediaType(), std::move(serializer.getFactory()));
|
_hfmFormatRegistry.registerMediaType(serializer.getMediaType(), serializer.getFactory());
|
||||||
}
|
}
|
||||||
|
|
||||||
std::shared_ptr<hfm::Serializer> ModelFormatRegistry::getSerializerForMediaType(const hifi::ByteArray& data, const hifi::URL& url, const std::string& webMediaType) const {
|
std::shared_ptr<hfm::Serializer> ModelFormatRegistry::getSerializerForMediaType(const hifi::ByteArray& data, const hifi::URL& url, const std::string& webMediaType) const {
|
||||||
|
|
Loading…
Reference in a new issue