Bugfix for compiling without uldaq
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Anne de Jong 2023-06-11 05:45:28 -07:00
parent 3904abfcf9
commit ee4b230947

View File

@ -24,7 +24,7 @@ void showErr(UlError err) {
if (err != ERR_NO_ERROR) if (err != ERR_NO_ERROR)
showErr(getErrMsg(err)); showErr(getErrMsg(err));
} }
#endif
void throwOnPossibleUlException(UlError err) { void throwOnPossibleUlException(UlError err) {
if (err == ERR_NO_ERROR) { if (err == ERR_NO_ERROR) {
@ -43,3 +43,4 @@ void throwOnPossibleUlException(UlError err) {
throw Daq::StreamException(serr, errstr); throw Daq::StreamException(serr, errstr);
} }
#endif