diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-04-29 14:11:09 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-04-29 14:11:09 +0200 |
commit | 0057e52b28a77857b7628b393735e20386784609 (patch) | |
tree | 378b45c25735bb48d2c946f18078dedcdfea1ec3 | |
parent | e12779d807b00fdc1b69a224dd92ff58d5e20906 (diff) | |
download | ATCD-0057e52b28a77857b7628b393735e20386784609.tar.gz |
Add override to the generated lookup operation
* TAO/TAO_IDL/be/be_interface.cpp:
-rw-r--r-- | TAO/TAO_IDL/be/be_interface.cpp | 6 |
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"; } |