File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ extern thread_local char ErrorMessage[MaxMessageSize];
2222#define DIE_NO_IMPLEMENTATION \
2323 do { \
2424 URLOG (ERR, " Not Implemented : {}" , __FUNCTION__) \
25- \
2625 return UR_RESULT_ERROR_UNSUPPORTED_FEATURE; \
2726 } while (false )
2827
@@ -34,8 +33,7 @@ extern thread_local char ErrorMessage[MaxMessageSize];
3433
3534#define CASE_UR_UNSUPPORTED (not_supported ) \
3635 case not_supported: \
37- URLOG (ERR, " Unsupported UR case : {} in {}" , #not_supported, \
38- __FUNCTION__) \
36+ URLOG (ERR, " Unsupported UR case : {} in {}" , #not_supported, __FUNCTION__) \
3937 return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
4038
4139// Todo: replace this with a common helper once it is available
Original file line number Diff line number Diff line change 1515#include " ur_filesystem_resolved.hpp"
1616#include " ur_level.hpp"
1717#include " ur_print.hpp"
18+ #include < assert.h>
1819
1920namespace logger {
2021
@@ -100,18 +101,18 @@ class Sink {
100101 if (*(++fmt) == ' {' ) {
101102 buffer << *fmt++;
102103 } else {
103- // std::cerr << error_prefix
104- // << "No arguments provided and braces not escaped!"
105- // << std::endl;
106- assert (false & " No arguments provided and braces not escaped!" );
104+ // std::cerr << error_prefix
105+ // << "No arguments provided and braces not escaped!"
106+ // << std::endl;
107+ assert (false & & " No arguments provided and braces not escaped!" );
107108 }
108109 } else if (*fmt == ' }' ) {
109110 if (*(++fmt) == ' }' ) {
110111 buffer << *fmt++;
111112 } else {
112- // std::cerr << error_prefix << "Closing curly brace not escaped!"
113- // << std::endl;
114- assert (false & " Closing curly brace not escaped!" );
113+ // std::cerr << error_prefix << "Closing curly brace not escaped!"
114+ // << std::endl;
115+ assert (false & & " Closing curly brace not escaped!" );
115116 }
116117 }
117118 }
You can’t perform that action at this time.
0 commit comments