Skip to content

Commit d32aeaa

Browse files
committed
fix build
1 parent e7d4cc5 commit d32aeaa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

SerialPrograms/Source/PokemonSV/Inference/Picnics/PokemonSV_SandwichPlateDetector.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66

77

8+
#include "Common/Cpp/Exceptions.h"
89
#include "CommonFramework/ImageTypes/ImageViewRGB32.h"
910
#include "CommonFramework/VideoPipeline/VideoOverlayScopes.h"
1011
#include "CommonTools/Images/ImageFilter.h"
@@ -35,6 +36,9 @@ SandwichPlateDetector::SandwichPlateDetector(Logger& logger, Color color, Langua
3536
case Side::RIGHT:
3637
m_box = ImageFloatBox(0.699, 0.269, 0.201, 0.044);
3738
break;
39+
default:
40+
throw InternalProgramError(&logger, PA_CURRENT_FUNCTION,
41+
"Invalid Side for SandwichPlateDetector()");
3842
}
3943
}
4044

0 commit comments

Comments
 (0)