summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-01-05 13:22:00 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-01-05 13:22:00 +0100
commitee3e01fbd51a02a2962bdc69b9018a9fdf45dc8c (patch)
tree056e6e46ec67b33748ff1885e0d964adff62a059 /TAO
parent78006062ece6be12eba3e81471961c74743ba071 (diff)
downloadATCD-ee3e01fbd51a02a2962bdc69b9018a9fdf45dc8c.tar.gz
Use noexcept(false) directly in the code
* TAO/orbsvcs/orbsvcs/PortableGroup/PG_Group_List_Store.cpp: * TAO/tao/Storable_File_Guard.cpp: * TAO/tao/Storable_File_Guard.h:
Diffstat (limited to 'TAO')
-rw-r--r--TAO/orbsvcs/orbsvcs/PortableGroup/PG_Group_List_Store.cpp4
-rw-r--r--TAO/tao/Storable_File_Guard.cpp2
-rw-r--r--TAO/tao/Storable_File_Guard.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Group_List_Store.cpp b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Group_List_Store.cpp
index 114eae51119..51b466aca48 100644
--- a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Group_List_Store.cpp
+++ b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Group_List_Store.cpp
@@ -29,7 +29,7 @@ namespace TAO
PG_Group_List_Store_File_Guard (PG_Group_List_Store & list_store,
Method_Type method_type);
- ~PG_Group_List_Store_File_Guard () ACE_NOEXCEPT_FALSE;
+ ~PG_Group_List_Store_File_Guard () noexcept(false);
virtual void set_object_last_changed (const time_t & time);
@@ -69,7 +69,7 @@ TAO::PG_Group_List_Store_File_Guard::PG_Group_List_Store_File_Guard (
}
}
-TAO::PG_Group_List_Store_File_Guard::~PG_Group_List_Store_File_Guard () ACE_NOEXCEPT_FALSE
+TAO::PG_Group_List_Store_File_Guard::~PG_Group_List_Store_File_Guard () noexcept(false)
{
this->release ();
if (list_store_.lock_.release() == -1)
diff --git a/TAO/tao/Storable_File_Guard.cpp b/TAO/tao/Storable_File_Guard.cpp
index b428fe67121..8f595d7de08 100644
--- a/TAO/tao/Storable_File_Guard.cpp
+++ b/TAO/tao/Storable_File_Guard.cpp
@@ -24,7 +24,7 @@ Storable_File_Guard (bool redundant, bool use_backup)
}
TAO::Storable_File_Guard::
-~Storable_File_Guard () ACE_NOEXCEPT_FALSE
+~Storable_File_Guard () noexcept(false)
{
delete fl_;
}
diff --git a/TAO/tao/Storable_File_Guard.h b/TAO/tao/Storable_File_Guard.h
index 3bf33299bc1..7f33ba7c681 100644
--- a/TAO/tao/Storable_File_Guard.h
+++ b/TAO/tao/Storable_File_Guard.h
@@ -34,7 +34,7 @@ namespace TAO
Storable_File_Guard (bool redundant,
bool use_backup = Storable_Base::use_backup_default);
- virtual ~Storable_File_Guard () ACE_NOEXCEPT_FALSE;
+ virtual ~Storable_File_Guard () noexcept(false);
/// Releases the lock, closes the file, and deletes the I/O stream.
/// Destructors of derived classes should call this this will