summaryrefslogtreecommitdiff
path: root/TAO/tao/String_Manager_T.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-09 12:39:57 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-12-09 12:39:57 +0100
commit6f91193f0b537d437645ae9e10823a519f547888 (patch)
tree224ad9643523a625196045f37ead1a4e73ddc1f9 /TAO/tao/String_Manager_T.h
parentfb7e13241cc5ebd590e32ec4343a75d53691cda6 (diff)
downloadATCD-6f91193f0b537d437645ae9e10823a519f547888.tar.gz
Removed redundant void
Diffstat (limited to 'TAO/tao/String_Manager_T.h')
-rw-r--r--TAO/tao/String_Manager_T.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/tao/String_Manager_T.h b/TAO/tao/String_Manager_T.h
index 2a596187c52..9a0905bff57 100644
--- a/TAO/tao/String_Manager_T.h
+++ b/TAO/tao/String_Manager_T.h
@@ -39,7 +39,7 @@ public:
typedef TAO::details::string_traits_base <charT> s_traits;
/// Default CTOR will initialize the underlying ptr_ to empty string.
- inline String_Manager_T (void) : ptr_ (s_traits::default_initializer())
+ inline String_Manager_T () : ptr_ (s_traits::default_initializer())
{
}
@@ -56,7 +56,7 @@ public:
}
/// Destructor
- inline ~String_Manager_T (void) {
+ inline ~String_Manager_T () {
s_traits::release (this->ptr_);
}
@@ -101,24 +101,24 @@ public:
}
/// For in parameter.
- inline const character_type *in (void) const {
+ inline const character_type *in () const {
return this->ptr_;
}
/// For inout parameter.
- inline character_type *&inout (void) {
+ inline character_type *&inout () {
return this->ptr_;
}
/// for out parameter.
- inline character_type *&out (void) {
+ inline character_type *&out () {
s_traits::release (this->ptr_);
this->ptr_ = 0;
return this->ptr_;
}
/// For string of return type.
- inline character_type *_retn (void) {
+ inline character_type *_retn () {
character_type *temp = this->ptr_;
this->ptr_ = 0;
return temp;