Skip to content

Commit

Permalink
Merge pull request #395 from jwillemsen/jwi-optablestdstringview
Browse files Browse the repository at this point in the history
Use std::string_view
  • Loading branch information
jwillemsen authored Aug 5, 2024
2 parents 044d3c2 + 8a0380f commit 1d69715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tao/x11/portable_server/operation_table_std_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace TAOX11_NAMESPACE
struct Operation_db_entry
{
/// Operation name
char const * opname;
std::string_view const opname;

/// Remote/thru-POA skeleton pointer
TAO_Skeleton skel_ptr;
Expand Down Expand Up @@ -72,7 +72,7 @@ class TAOX11_PortableServer_Export Std_Map_OpTable final
const TAO::Operation_Skeletons skel_ptr) override;

private:
using key_map_type = std::string_view ;
using key_map_type = std::string_view;

using map_type = std::unordered_map<key_map_type, TAO::Operation_Skeletons>;

Expand Down

0 comments on commit 1d69715

Please sign in to comment.