summaryrefslogtreecommitdiff
path: root/TAO/tao/FILE_Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/FILE_Parser.cpp')
-rw-r--r--TAO/tao/FILE_Parser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/FILE_Parser.cpp b/TAO/tao/FILE_Parser.cpp
index 0c9398e27c9..ea0224d4f79 100644
--- a/TAO/tao/FILE_Parser.cpp
+++ b/TAO/tao/FILE_Parser.cpp
@@ -15,7 +15,7 @@ static const char file_prefix[] = "file:";
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-TAO_FILE_Parser::~TAO_FILE_Parser (void)
+TAO_FILE_Parser::~TAO_FILE_Parser ()
{
}
@@ -39,14 +39,14 @@ TAO_FILE_Parser::parse_string (const char *ior, CORBA::ORB_ptr orb)
FILE* file = ACE_OS::fopen (ACE_TEXT_CHAR_TO_TCHAR (filename),
ACE_TEXT("r"));
- if (file == 0)
+ if (file == nullptr)
return CORBA::Object::_nil ();
ACE_Read_Buffer reader (file, true);
char* string = reader.read ();
- if (string == 0)
+ if (string == nullptr)
return CORBA::Object::_nil ();
CORBA::Object_ptr object = CORBA::Object::_nil ();