diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-04-30 17:17:13 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-04-30 17:17:13 +0200 |
commit | 158c653cd69fc21eebf39b03e779d80d865bfeb9 (patch) | |
tree | a3b29ac696b07bcd71e70cfc94ef7289c912edcb | |
parent | f66b7cbbe653e05ae48f21d6829e72d1a30c20ff (diff) | |
download | ATCD-158c653cd69fc21eebf39b03e779d80d865bfeb9.tar.gz |
Mark also the generated hash operation with override
* TAO/TAO_IDL/be/be_interface.cpp:
* TAO/tao/PortableServer/Operation_Table_Perfect_Hash.h:
-rw-r--r-- | TAO/TAO_IDL/be/be_interface.cpp | 2 | ||||
-rw-r--r-- | TAO/tao/PortableServer/Operation_Table_Perfect_Hash.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_interface.cpp b/TAO/TAO_IDL/be/be_interface.cpp index 25cfe3a1559..87b89971113 100644 --- a/TAO/TAO_IDL/be/be_interface.cpp +++ b/TAO/TAO_IDL/be/be_interface.cpp @@ -1942,7 +1942,7 @@ be_interface::gen_perfect_hash_class_definition (const char *flat_name) << ": public TAO_Perfect_Hash_OpTable" << be_uidt_nl << "{" << be_nl << "private:" << be_idt_nl - << "unsigned int hash (const char *str, unsigned int len);" + << "unsigned int hash (const char *str, unsigned int len) override;" << be_uidt_nl << be_nl << "public:" << be_idt_nl << "const TAO_operation_db_entry * lookup " diff --git a/TAO/tao/PortableServer/Operation_Table_Perfect_Hash.h b/TAO/tao/PortableServer/Operation_Table_Perfect_Hash.h index b89d8f511ea..60979b541f7 100644 --- a/TAO/tao/PortableServer/Operation_Table_Perfect_Hash.h +++ b/TAO/tao/PortableServer/Operation_Table_Perfect_Hash.h @@ -59,7 +59,6 @@ public: private: // = Methods that should defined by the subclasses. GPERF program // will generate these routines. - virtual unsigned int hash (const char *str, unsigned int len) = 0; virtual const TAO_operation_db_entry* lookup (const char *str, |