diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2023-02-13 16:23:46 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2023-02-13 16:23:46 +0100 |
commit | 88ce4a3384ee967a8007a3575bfca9d2dde0dc7a (patch) | |
tree | e2c1cb0c0953dd3bbde79686189517021ca5f385 /TAO | |
parent | d9b768c3239be29c3219f2fca81b39e2dc8787b1 (diff) | |
download | ATCD-88ce4a3384ee967a8007a3575bfca9d2dde0dc7a.tar.gz |
Replace enum with static constexpr
* TAO/tao/PortableServer/Root_POA.h:
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/tao/PortableServer/Root_POA.h | 5 |
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]; |