Introduce std::string_view into wider use (#14368)
This commit is contained in:
@@ -36,7 +36,7 @@ class ItemStackMetadata : public SimpleMetadata
|
||||
|
||||
// Overrides
|
||||
void clear() override;
|
||||
bool setString(const std::string &name, const std::string &var) override;
|
||||
bool setString(const std::string &name, std::string_view var) override;
|
||||
|
||||
void serialize(std::ostream &os) const;
|
||||
void deSerialize(std::istream &is);
|
||||
|
||||
Reference in New Issue
Block a user