summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-04-29 18:33:21 +0200
committerGitHub <noreply@github.com>2021-04-29 18:33:21 +0200
commitff216a0df9679117e068903a337dc10c98ab78c5 (patch)
treebff3f33159735a1412ff59c2c56d3fb0938c96aa
parent8697db3db42dc5fc6a2071cf41991efed94c673b (diff)
parent0057e52b28a77857b7628b393735e20386784609 (diff)
downloadATCD-ff216a0df9679117e068903a337dc10c98ab78c5.tar.gz
Merge pull request #1490 from jwillemsen/jwi-taoidl-hashtableoverride
Add override to the generated lookup operation
-rw-r--r--TAO/TAO_IDL/be/be_interface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/be/be_interface.cpp b/TAO/TAO_IDL/be/be_interface.cpp
index ba3b0ce5ff0..25cfe3a1559 100644
--- a/TAO/TAO_IDL/be/be_interface.cpp
+++ b/TAO/TAO_IDL/be/be_interface.cpp
@@ -1946,7 +1946,7 @@ be_interface::gen_perfect_hash_class_definition (const char *flat_name)
<< be_uidt_nl << be_nl
<< "public:" << be_idt_nl
<< "const TAO_operation_db_entry * lookup "
- << "(const char *str, unsigned int len);"
+ << "(const char *str, unsigned int len) override;"
<< be_uidt_nl
<< "};\n\n";
}
@@ -1964,7 +1964,7 @@ be_interface::gen_binary_search_class_definition (const char *flat_name)
<< ": public TAO_Binary_Search_OpTable" << be_uidt_nl
<< "{" << be_nl
<< "public:" << be_idt_nl
- << "const TAO_operation_db_entry * lookup (const char *str);"
+ << "const TAO_operation_db_entry * lookup (const char *str) override;"
<< be_uidt_nl
<< "};\n\n";
}
@@ -1982,7 +1982,7 @@ be_interface::gen_linear_search_class_definition (const char *flat_name)
<< ": public TAO_Linear_Search_OpTable" << be_nl
<< "{" << be_nl
<< "public:" << be_idt_nl
- << "const TAO_operation_db_entry * lookup (const char *str);"
+ << "const TAO_operation_db_entry * lookup (const char *str) override;"
<< be_uidt_nl
<< "};\n\n";
}