Skip to content

Commit

Permalink
No need for AnyInsert_Adapter for map, not used in the CORBA spec itself
Browse files Browse the repository at this point in the history
    * ridlbe/c++11/templates/cli/prx/map_cdr.erb:
    * ridlbe/c++11/templates/srv/src/map_sarg_traits.erb:
  • Loading branch information
jwillemsen committed Aug 17, 2023
1 parent 94a18ab commit 5184ced
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
11 changes: 1 addition & 10 deletions ridlbe/c++11/templates/cli/prx/map_cdr.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,7 @@ namespace TAOX11_NAMESPACE
template<>
class Arg_Traits<<%= scoped_cxxtype %>>
: public Basic_Arg_Traits_T<
<%= scoped_cxxtype %>,
% if generate_any_support?
% if generate_anyinsert_adapter?
Any_Insert_Policy_AnyInsert_Adapter>
% else
Any_Insert_Policy_Stream>
% end
% else
Any_Insert_Policy_Noop>
% end
<%= scoped_cxxtype %>, <% if generate_any_support? %>Any_Insert_Policy_Stream<% else %>Any_Insert_Policy_Noop<% end %>>
{
};
} // namespace TAOX11_NAMESPACE
Expand Down
12 changes: 1 addition & 11 deletions ridlbe/c++11/templates/srv/src/map_sarg_traits.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,7 @@ namespace PS
/// Argument traits specializations for <%= name %>
template<>
class SArg_Traits<<%= scoped_cxxtype %>>
: public Basic_SArg_Traits_T<
<%= scoped_cxxtype %>,
% if generate_any_support?
% if generate_anyinsert_adapter?
Any_Insert_Policy_AnyInsert_Adapter>
% else
Any_Insert_Policy_Stream>
% end
% else
Any_Insert_Policy_Noop>
% end
: public Basic_SArg_Traits_T<<%= scoped_cxxtype %>, <% if generate_any_support? %>Any_Insert_Policy_Stream<% else %>Any_Insert_Policy_Noop<% end %>>
{
};
} // namespace PS
Expand Down

0 comments on commit 5184ced

Please sign in to comment.