Skip to content

Commit 322ac32

Browse files
committed
roll back more changes
1 parent de3a64c commit 322ac32

File tree

1 file changed

+2
-3
lines changed
  • include/xrpl/beast/unit_test

1 file changed

+2
-3
lines changed

include/xrpl/beast/unit_test/suite.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include <boost/throw_exception.hpp>
1212

1313
#include <ostream>
14-
#include <source_location>
1514
#include <sstream>
1615
#include <string>
1716

@@ -196,7 +195,7 @@ class suite
196195

197196
template <class = void>
198197
void
199-
fail(std::string const& reason = "", std::source_location const& loc = std::source_location::current());
198+
fail(std::string const& reason = "");
200199
/** @} */
201200

202201
/** Evaluate a test condition.
@@ -501,7 +500,7 @@ suite::pass()
501500
// ::fail
502501
template <class>
503502
void
504-
suite::fail(std::string const& reason, std::source_location const& loc)
503+
suite::fail(std::string const& reason)
505504
{
506505
propagate_abort();
507506
runner_->fail(reason);

0 commit comments

Comments
 (0)