Cleanup: Missing const keyword.
This commit is contained in:
parent
82dccff809
commit
6b20ccb753
|
@ -81,7 +81,7 @@ struct CryptomatteLayer {
|
|||
static std::unique_ptr<CryptomatteLayer> read_from_manifest(blender::StringRefNull manifest);
|
||||
uint32_t add_ID(const struct ID &id);
|
||||
void add_hash(blender::StringRef name, CryptomatteHash cryptomatte_hash);
|
||||
std::string manifest();
|
||||
std::string manifest() const;
|
||||
|
||||
std::optional<std::string> operator[](float encoded_hash) const;
|
||||
};
|
||||
|
|
|
@ -481,7 +481,7 @@ std::optional<std::string> CryptomatteLayer::operator[](float encoded_hash) cons
|
|||
return std::nullopt;
|
||||
}
|
||||
|
||||
std::string CryptomatteLayer::manifest()
|
||||
std::string CryptomatteLayer::manifest() const
|
||||
{
|
||||
return blender::bke::cryptomatte::manifest::to_manifest(this);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue