Skip to content

Commit 3852ddb

Browse files
committed
Add missing 'override' keywords
1 parent 5524868 commit 3852ddb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpp/src/arrow/extension_type.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class ExtensionTypeRegistryImpl : public ExtensionTypeRegistry {
6969
public:
7070
ExtensionTypeRegistryImpl() {}
7171

72-
Status RegisterType(std::shared_ptr<ExtensionType> type) {
72+
Status RegisterType(std::shared_ptr<ExtensionType> type) override {
7373
std::lock_guard<std::mutex> lock(lock_);
7474
std::string type_name = type->extension_name();
7575
auto it = name_to_type_.find(type_name);
@@ -81,7 +81,7 @@ class ExtensionTypeRegistryImpl : public ExtensionTypeRegistry {
8181
return Status::OK();
8282
}
8383

84-
Status UnregisterType(const std::string& type_name) {
84+
Status UnregisterType(const std::string& type_name) override {
8585
std::lock_guard<std::mutex> lock(lock_);
8686
auto it = name_to_type_.find(type_name);
8787
if (it == name_to_type_.end()) {
@@ -91,7 +91,7 @@ class ExtensionTypeRegistryImpl : public ExtensionTypeRegistry {
9191
return Status::OK();
9292
}
9393

94-
std::shared_ptr<ExtensionType> GetType(const std::string& type_name) {
94+
std::shared_ptr<ExtensionType> GetType(const std::string& type_name) override {
9595
std::lock_guard<std::mutex> lock(lock_);
9696
auto it = name_to_type_.find(type_name);
9797
if (it == name_to_type_.end()) {

0 commit comments

Comments
 (0)