Skip to content

Commit

Permalink
fix: remove redundant scope from createCommand function
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Mar 3, 2024
1 parent b1da105 commit fbd4a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/bedrock/command/command_registry.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class CommandRegistry {

private:
[[nodiscard]] BEDROCK_API const CommandRegistry::Signature *findCommand(const std::string &name) const;
[[nodiscard]] BEDROCK_API std::unique_ptr<Command> CommandRegistry::createCommand(
[[nodiscard]] BEDROCK_API std::unique_ptr<Command> createCommand(
const CommandRegistry::ParseToken &parse_token, const CommandOrigin &origin, int version,
std::string &error_message, std::vector<std::string> &error_params) const;
[[nodiscard]] BEDROCK_API std::string describe(CommandParameterData const &) const;
Expand Down

0 comments on commit fbd4a50

Please sign in to comment.