Commit cfc15d53 authored by Gauthier Quesnel's avatar Gauthier Quesnel
Browse files

debug: remove bx_print function

parent 96fa66e6
Pipeline #5045 passed with stage
in 3 minutes and 16 seconds
......@@ -27,10 +27,6 @@
#include <stdexcept>
#ifndef BARYONYX_FULL_OPTIMIZATION
#include <iostream>
#endif
#include <cstdio>
//
......@@ -114,19 +110,6 @@ struct sink
#define bx_assert(cond) BX_CONTRACT_CHECK("Assertion", cond)
#endif
template<typename Arg, typename... Args>
inline void
bx_print(Arg&& arg, Args&&... args) noexcept
{
#ifndef BARYONYX_FULL_OPTIMIZATION
std::cerr << std::forward<Arg>(arg);
((std::cerr << ',' << std::forward<Args>(args)), ...);
std::cerr << '\n';
#else
baryonyx::details::sink(arg, args...);
#endif
}
#define bx_reach() BX_CONTRACT_FAIL("Reached")
#define bx_return_val_if_fail(cond, val) \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment