Skip to content

Commit

Permalink
Remove RETURN_NOT_OK_ELSE_TUPLE (#4444)
Browse files Browse the repository at this point in the history
Remove `RETURN_NOT_OK_ELSE_TUPLE`. It's no longer used.

---
TYPE: NO_HISTORY
DESC: Remove `RETURN_NOT_OK_ELSE_TUPLE`
  • Loading branch information
eric-hughes-tiledb authored Oct 23, 2023
1 parent ab87e06 commit d7349a6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tiledb/common/exception/status.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,6 @@ namespace common {
} \
} while (false)

#define RETURN_NOT_OK_ELSE_TUPLE(s, else_, ...) \
do { \
Status _s = (s); \
if (!_s.ok()) { \
else_; \
return {_s, __VA_ARGS__}; \
} \
} while (false)

/**
* The original `Status` class, used as a ubiquitous return value to avoid
* throwing exceptions.
Expand Down

0 comments on commit d7349a6

Please sign in to comment.