Skip to content

Commit

Permalink
Refs #21349. Fix compilation
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
  • Loading branch information
richiware committed Jul 17, 2024
1 parent 9aa547f commit 33c34c6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions include/eprosimashapesdemo/shapesdemo/ShapeInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,25 +98,25 @@ class ColorInstanceHandle
{
Shape shape;
shape.define(SD_PURPLE);
m_topic.getKey((void*)&shape.m_shape, &PurpleIH.second);
m_topic.compute_key((void*)&shape.m_shape, PurpleIH.second);
shape.define(SD_BLUE);
m_topic.getKey((void*)&shape.m_shape, &BlueIH.second);
m_topic.compute_key((void*)&shape.m_shape, BlueIH.second);
shape.define(SD_RED);
m_topic.getKey((void*)&shape.m_shape, &RedIH.second);
m_topic.compute_key((void*)&shape.m_shape, RedIH.second);
shape.define(SD_GREEN);
m_topic.getKey((void*)&shape.m_shape, &GreenIH.second);
m_topic.compute_key((void*)&shape.m_shape, GreenIH.second);
shape.define(SD_YELLOW);
m_topic.getKey((void*)&shape.m_shape, &YellowIH.second);
m_topic.compute_key((void*)&shape.m_shape, YellowIH.second);
shape.define(SD_CYAN);
m_topic.getKey((void*)&shape.m_shape, &CyanIH.second);
m_topic.compute_key((void*)&shape.m_shape, CyanIH.second);
shape.define(SD_MAGENTA);
m_topic.getKey((void*)&shape.m_shape, &MagentaIH.second);
m_topic.compute_key((void*)&shape.m_shape, MagentaIH.second);
shape.define(SD_ORANGE);
m_topic.getKey((void*)&shape.m_shape, &OrangeIH.second);
m_topic.compute_key((void*)&shape.m_shape, OrangeIH.second);
shape.define(SD_GRAY);
m_topic.getKey((void*)&shape.m_shape, &GrayIH.second);
m_topic.compute_key((void*)&shape.m_shape, GrayIH.second);
shape.define(SD_BLACK);
m_topic.getKey((void*)&shape.m_shape, &BlackIH.second);
m_topic.compute_key((void*)&shape.m_shape, BlackIH.second);
// cout << PurpleIH.second << endl;
// cout << BlueIH.second << endl;
// cout << RedIH.second<<endl;
Expand Down

0 comments on commit 33c34c6

Please sign in to comment.