diff options
author | Knut Petter Svendsen <knut@altuma.no> | 2022-09-23 08:47:45 +0200 |
---|---|---|
committer | Knut Petter Svendsen <knut@altuma.no> | 2022-09-23 08:47:45 +0200 |
commit | 46bf3cb65ed64842f6272fb9d571af3c8d4ead59 (patch) | |
tree | cc28c6b65b1010abe6131eaffd03c34c82e7c665 | |
parent | 1aa4a63339a3990a68b5dd5f808bc3e5c33e193f (diff) | |
download | ATCD-46bf3cb65ed64842f6272fb9d571af3c8d4ead59.tar.gz |
Remove the non-const version
This is safe since non-const functions can call const-functions.
-rw-r--r-- | TAO/TAO_IDL/ast/ast_decl.cpp | 6 | ||||
-rw-r--r-- | TAO/TAO_IDL/include/ast_decl.h | 1 | ||||
-rw-r--r-- | TAO/TAO_IDL/include/utl_string.h | 3 |
3 files changed, 0 insertions, 10 deletions
diff --git a/TAO/TAO_IDL/ast/ast_decl.cpp b/TAO/TAO_IDL/ast/ast_decl.cpp index d8253dfb36f..2c5ee1816c4 100644 --- a/TAO/TAO_IDL/ast/ast_decl.cpp +++ b/TAO/TAO_IDL/ast/ast_decl.cpp @@ -1344,12 +1344,6 @@ AST_Decl::set_name (UTL_ScopedName *n) } Identifier * -AST_Decl::local_name () -{ - return this->pd_local_name; -} - -Identifier * AST_Decl::local_name () const { return this->pd_local_name; diff --git a/TAO/TAO_IDL/include/ast_decl.h b/TAO/TAO_IDL/include/ast_decl.h index bdc3703ea30..62064434224 100644 --- a/TAO/TAO_IDL/include/ast_decl.h +++ b/TAO/TAO_IDL/include/ast_decl.h @@ -236,7 +236,6 @@ public: void set_name (UTL_ScopedName *n); - Identifier *local_name (); Identifier *local_name () const; void local_name (Identifier *id); diff --git a/TAO/TAO_IDL/include/utl_string.h b/TAO/TAO_IDL/include/utl_string.h index c5e4a81e090..de9d4884456 100644 --- a/TAO/TAO_IDL/include/utl_string.h +++ b/TAO/TAO_IDL/include/utl_string.h @@ -93,9 +93,6 @@ public: virtual void dump (ACE_OSTREAM_TYPE &o); // Dump to the ostream. - char *get_string () {return this->p_str;} - // Get contents of utl_string. - char *get_string () const {return this->p_str;} // Get contents of utl_string. |