Skip to content

Commit

Permalink
Minor formatting [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
costashatz committed Apr 10, 2022
1 parent 6f8cca7 commit a994241
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/robot_dart/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ namespace robot_dart {
std::cerr << "[robot_dart WARNING]: \"" << message << "\"" << std::endl; \
}

#define ROBOT_DART_ASSERT(condition, message, returnValue) \
do { \
if (!(condition)) { \
std::cerr << __LINE__ << " " << __FILE__<< " -> robot_dart assertion failed: " << message << std::endl; \
return returnValue; \
} \
#define ROBOT_DART_ASSERT(condition, message, returnValue) \
do { \
if (!(condition)) { \
std::cerr << __LINE__ << " " << __FILE__ << " -> robot_dart assertion failed: " << message << std::endl; \
return returnValue; \
} \
} while (false)

#define ROBOT_DART_EXCEPTION_ASSERT(condition, message) \
Expand Down

0 comments on commit a994241

Please sign in to comment.