Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More maps fixes #2154

Merged
merged 2 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions TAO/TAO_IDL/be/be_visitor_map/cdr_op_cs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ be_visitor_map_cdr_op_cs::be_visitor_map_cdr_op_cs (be_visitor_context *ctx)
{
}

be_visitor_map_cdr_op_cs::~be_visitor_map_cdr_op_cs ()
{
}

int
be_visitor_map_cdr_op_cs::visit_map (be_map *node)
{
Expand Down
6 changes: 5 additions & 1 deletion TAO/TAO_IDL/be/be_visitor_map/map_ch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ be_visitor_map_ch::be_visitor_map_ch (be_visitor_context *ctx)
{
}

be_visitor_map_ch::~be_visitor_map_ch ()
{
}

int be_visitor_map_ch::visit_map (be_map *node)
{
if (node->defined_in () == 0)
Expand Down Expand Up @@ -45,7 +49,7 @@ int be_visitor_map_ch::visit_map (be_map *node)

*os << be_nl_2;

*os << "typedef " << "std::map<";
*os << "typedef " << "std::map< ";

be_type* kt = node->key_type();
be_type* vt = node->value_type();
Expand Down
4 changes: 4 additions & 0 deletions TAO/TAO_IDL/be/be_visitor_map/map_cs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ be_visitor_map_cs::be_visitor_map_cs (be_visitor_context *ctx)
{
}

be_visitor_map_cs::~be_visitor_map_cs ()
{
}

int be_visitor_map_cs::visit_map (be_map *)
{
return 0;
Expand Down
2 changes: 1 addition & 1 deletion TAO/TAO_IDL/be_include/be_visitor_map/cdr_op_cs.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class be_visitor_map_cdr_op_cs : public be_visitor_decl
be_visitor_map_cdr_op_cs (be_visitor_context *ctx);

/// destructor
~be_visitor_map_cdr_op_cs () = default;
~be_visitor_map_cdr_op_cs ();

/// visit map
virtual int visit_map (be_map *node);
Expand Down
2 changes: 1 addition & 1 deletion TAO/TAO_IDL/be_include/be_visitor_map/map_ch.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class be_visitor_map_ch : public be_visitor_decl
be_visitor_map_ch (be_visitor_context *ctx);

/// destructor
~be_visitor_map_ch () = default;
~be_visitor_map_ch ();

/// visit map node.
virtual int visit_map (be_map *node);
Expand Down
2 changes: 1 addition & 1 deletion TAO/TAO_IDL/be_include/be_visitor_map/map_cs.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class be_visitor_map_cs : public be_visitor_decl
be_visitor_map_cs (be_visitor_context *ctx);

/// destructor
~be_visitor_map_cs () = default;
~be_visitor_map_cs ();

/// visit map node
virtual int visit_map (be_map *node);
Expand Down
Loading