Skip to content

Commit

Permalink
Fix windows optional_throw
Browse files Browse the repository at this point in the history
  • Loading branch information
emilydolson committed Nov 26, 2023
1 parent 87cad79 commit a87e569
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/emp/base/_optional_throw.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ namespace emp {
assert_print_second(ss, std::forward<EXTRA>(extra)...);
}

void assert_print_first(std::stringstream & ss, int placeholder) {;}

template <typename... EXTRA>
void assert_throw(std::string filename, size_t line, std::string expr, std::string message, EXTRA &&... extra) {
std::stringstream ss;
Expand Down

0 comments on commit a87e569

Please sign in to comment.