Skip to content
Snippets Groups Projects
Commit 499e719f authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Fix namespace

parent 001a8d17
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,7 @@ namespace armarx::aron::cppserializer::serializer
{
#define CASE( typeConstant ) \
case typeConstant : \
typeName = "aron::typenavigator::ImageNavigator::pixelTypeToName( " #typeConstant " )"; \
typeName = "::armarx::aron::typenavigator::ImageNavigator::pixelTypeToName( " #typeConstant " )"; \
break;
CASE(::armarx::aron::typenavigator::ImagePixelType::Rgb24)
......@@ -218,15 +218,15 @@ case typeConstant : \
{
CppBlockPtr block_switch = std::make_shared<CppBlock>();
#define CASE( typeConstant ) \
block_switch->addLine("case " #typeConstant ":"); \
block_switch->addLine("cvMatType = " + pixelTypeMap.at(typeConstant) + ";"); \
block_switch->addLine("break;")
#define CASE( typeConstant ) \
block_switch->addLine("case " #typeConstant ":"); \
block_switch->addLine("cvMatType = " + pixelTypeMap.at(typeConstant) + ";"); \
block_switch->addLine("break;")
CASE(::armarx::aron::typenavigator::ImagePixelType::Rgb24);
CASE(::armarx::aron::typenavigator::ImagePixelType::Depth32);
#undef CASE
#undef CASE
block_switch->addLine("default:");
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment