summaryrefslogtreecommitdiff
path: root/TAO/tao/DynamicInterface/ExceptionList.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-02-25 13:27:03 +0100
committerGitHub <noreply@github.com>2021-02-25 13:27:03 +0100
commitfdf9fe05d6a4499ced8b55b52f179275ce0c90b0 (patch)
treeb63469e57597713738afea9d42ef0e78fcb9d7d4 /TAO/tao/DynamicInterface/ExceptionList.inl
parente4bcaf22324492a0d784890cd9ca86b4a707e68f (diff)
parentab938af466a77a9992d95da9fc832ff50444255f (diff)
downloadATCD-fdf9fe05d6a4499ced8b55b52f179275ce0c90b0.tar.gz
Merge pull request #1440 from jwillemsen/jw-cleanupvc6
Cleanup for vc6, use nullptr, remove redundant void, layout changes
Diffstat (limited to 'TAO/tao/DynamicInterface/ExceptionList.inl')
-rw-r--r--TAO/tao/DynamicInterface/ExceptionList.inl10
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/tao/DynamicInterface/ExceptionList.inl b/TAO/tao/DynamicInterface/ExceptionList.inl
index 4178f77d903..d175462de12 100644
--- a/TAO/tao/DynamicInterface/ExceptionList.inl
+++ b/TAO/tao/DynamicInterface/ExceptionList.inl
@@ -2,30 +2,30 @@
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE
-CORBA::ExceptionList::ExceptionList (void)
+CORBA::ExceptionList::ExceptionList ()
: refcount_ (1)
{
}
ACE_INLINE
CORBA::ULong
-CORBA::ExceptionList::count (void)
+CORBA::ExceptionList::count ()
{
return (CORBA::ULong) this->tc_list_.size ();
}
ACE_INLINE
CORBA::ExceptionList_ptr
-CORBA::ExceptionList::_nil (void)
+CORBA::ExceptionList::_nil ()
{
- return static_cast<CORBA::ExceptionList_ptr>(0);
+ return nullptr;
}
ACE_INLINE
CORBA::ExceptionList_ptr
CORBA::ExceptionList::_duplicate (CORBA::ExceptionList_ptr x)
{
- if (x != 0)
+ if (x)
{
x->_incr_refcount ();
}