summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2023-02-13 16:23:46 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2023-02-13 16:23:46 +0100
commit88ce4a3384ee967a8007a3575bfca9d2dde0dc7a (patch)
treee2c1cb0c0953dd3bbde79686189517021ca5f385
parentd9b768c3239be29c3219f2fca81b39e2dc8787b1 (diff)
downloadATCD-88ce4a3384ee967a8007a3575bfca9d2dde0dc7a.tar.gz
Replace enum with static constexpr
* TAO/tao/PortableServer/Root_POA.h:
-rw-r--r--TAO/tao/PortableServer/Root_POA.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/TAO/tao/PortableServer/Root_POA.h b/TAO/tao/PortableServer/Root_POA.h
index 899c8031481..436e6e67704 100644
--- a/TAO/tao/PortableServer/Root_POA.h
+++ b/TAO/tao/PortableServer/Root_POA.h
@@ -275,10 +275,7 @@ public:
static CORBA::ULong name_separator_length ();
- enum
- {
- TAO_OBJECTKEY_PREFIX_SIZE = 4
- };
+ static constexpr size_t TAO_OBJECTKEY_PREFIX_SIZE = 4;
static CORBA::Octet const objectkey_prefix[TAO_OBJECTKEY_PREFIX_SIZE];