Rename `requires` to `_requires`
`requires` is a keyword in C++20. Despite this written in C++17 as of now, some editors and linters may handle it like a keyword. This adds to the commit from before.
This commit is contained in:
parent
0e8e5294f4
commit
535b074c96
|
@ -29,10 +29,10 @@ namespace Starbound {
|
|||
Metadata::Metadata(const std::string name, const std::string friendlyName,
|
||||
const std::string author, const std::string description,
|
||||
const std::string version, const std::string link,
|
||||
const std::vector<std::string> requires)
|
||||
const std::vector<std::string> _requires)
|
||||
: m_name(name), m_friendlyName(friendlyName), m_author(author),
|
||||
m_description(description), m_version(version), m_link(link),
|
||||
m_requires(requires) {}
|
||||
m_requires(_requires) {}
|
||||
|
||||
std::string Metadata::GetName() const { return m_name; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue