summaryrefslogtreecommitdiff
path: root/ace/Registry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Registry.cpp')
-rw-r--r--ace/Registry.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/ace/Registry.cpp b/ace/Registry.cpp
index d20913634de..ee1863a8b88 100644
--- a/ace/Registry.cpp
+++ b/ace/Registry.cpp
@@ -842,11 +842,14 @@ ACE_Registry::Binding_Iterator::Iteration_State::iterator (Binding_Iterator *ite
}
-ACE_Registry::Binding_Iterator::Iteration_State::Iteration_State ()
+ACE_Registry::Binding_Iterator::Iteration_State::Iteration_State (void)
: index_ (0)
{
}
+ACE_Registry::Binding_Iterator::Iteration_State::~Iteration_State (void)
+{
+}
// Next entry
int
@@ -1075,6 +1078,9 @@ ACE_Predefined_Naming_Contexts::connect (ACE_Registry::Naming_Context &naming_co
const ACE_TCHAR *machine_name)
{
#if defined (ACE_HAS_WINCE)
+ ACE_UNUSED_ARG(naming_context);
+ ACE_UNUSED_ARG(predefined);
+ ACE_UNUSED_ARG(machine_name);
return -1;
#else
long result = -1;
@@ -1088,6 +1094,7 @@ ACE_Predefined_Naming_Contexts::connect (ACE_Registry::Naming_Context &naming_co
predefined,
&naming_context.key_);
if (predefined == HKEY_CURRENT_USER || predefined == HKEY_CLASSES_ROOT)
+ {
// Make sure that for these types, the machine is local
if (machine_name == 0 ||
ACE_Predefined_Naming_Contexts::is_local_host (machine_name))
@@ -1097,6 +1104,7 @@ ACE_Predefined_Naming_Contexts::connect (ACE_Registry::Naming_Context &naming_co
}
else
result = -1;
+ }
ACE_REGISTRY_CALL_RETURN (result);
#endif // ACE_HAS_WINCE