Skip to content

Commit

Permalink
[fix] pass workflow ci test.
Browse files Browse the repository at this point in the history
Signed-off-by: clundro <clusternlh@gmail.com>
  • Loading branch information
infdahai committed Mar 28, 2023
1 parent 1d7f039 commit 3fafcd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/macros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ void BustubAssertInternal(bool condition, const char *condition_name, const char
throw InternalException(res);
}

} // namespace bustub
} // namespace bustub
2 changes: 1 addition & 1 deletion src/include/common/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace bustub {
void BustubAssertInternal(bool condition, const char *condition_name, const char *file, int line);
#else
void BustubAssertInternal(bool condition, const char *condition_name, const char *file, int line);
#define D_ASSERT(expr) BustubAssertInternal(bool(expr), #expr, __FILE__, __LINE__)
#define D_ASSERT(expr) BustubAssertInternal(static_cast<bool>(expr), #expr, __FILE__, __LINE__)
#endif

#define UNIMPLEMENTED(message) throw std::logic_error(message)
Expand Down

0 comments on commit 3fafcd9

Please sign in to comment.