summaryrefslogtreecommitdiff
path: root/ACE/ace/String_Base.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/String_Base.h')
-rw-r--r--ACE/ace/String_Base.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ACE/ace/String_Base.h b/ACE/ace/String_Base.h
index 4baf8e4213f..d3bbf80212f 100644
--- a/ACE/ace/String_Base.h
+++ b/ACE/ace/String_Base.h
@@ -103,9 +103,9 @@ public:
* freeing memory.
* @return ACE_String_Base containing const ACE_CHAR_T *s
*/
- ACE_String_Base (const ACE_CHAR_T *s,
- ACE_Allocator *the_allocator = 0,
- bool release = true);
+ explicit ACE_String_Base (const ACE_CHAR_T *s,
+ ACE_Allocator *the_allocator = 0,
+ bool release = true);
/**
* Constructor that copies @a len CHARs of @a s into dynamically
@@ -144,7 +144,7 @@ public:
* @param the_allocator ACE_Allocator associated with string
* @return ACE_String_Base containing ACE_CHAR_T 'c'
*/
- ACE_String_Base (ACE_CHAR_T c, ACE_Allocator *the_allocator = 0);
+ explicit ACE_String_Base (ACE_CHAR_T c, ACE_Allocator *the_allocator = 0);
/**
* Constructor that allocates a len long string.
@@ -159,9 +159,9 @@ public:
* @param the_allocator ACE_Allocator associated with string
* @return Empty ACE_String_Base with room for len CHARs
*/
- ACE_String_Base (size_type len,
- ACE_CHAR_T c = 0,
- ACE_Allocator *the_allocator = 0);
+ explicit ACE_String_Base (size_type len,
+ ACE_CHAR_T c = 0,
+ ACE_Allocator *the_allocator = 0);
/**
* Deletes the memory...