Fix another missing move in glTFCommon.h
parent
899f8e1d17
commit
5a0df03d2b
|
@ -245,9 +245,12 @@ struct Nullable {
|
|||
|
||||
Nullable() :
|
||||
isPresent(false) {}
|
||||
Nullable(T &val) :
|
||||
Nullable(const T &val) :
|
||||
value(val),
|
||||
isPresent(true) {}
|
||||
Nullable(T &&val) :
|
||||
value(std::move(val)),
|
||||
isPresent(true) {}
|
||||
};
|
||||
|
||||
//! A reference to one top-level object, which is valid
|
||||
|
|
Loading…
Reference in New Issue