Commit a745939c authored by Artur Wojcik's avatar Artur Wojcik
Browse files

move migraphx_test_private_disable_exception_catch() out of migraphx namespace

parent ebc72443
......@@ -40,7 +40,6 @@
#include <migraphx/convert_to_json.hpp>
#include <algorithm>
#include <cstdarg>
namespace migraphx {
static thread_local bool disable_exception_catch = false; // NOLINT
......@@ -49,6 +48,8 @@ extern "C" MIGRAPHX_C_EXPORT void migraphx_test_private_disable_exception_catch(
disable_exception_catch = b;
}
namespace migraphx {
template <class F>
migraphx_status try_(F f, bool output = true) // NOLINT
{
......
......@@ -40,7 +40,6 @@
#include <migraphx/convert_to_json.hpp>
#include <algorithm>
#include <cstdarg>
namespace migraphx {
static thread_local bool disable_exception_catch = false; // NOLINT
......@@ -49,6 +48,8 @@ extern "C" MIGRAPHX_C_EXPORT void migraphx_test_private_disable_exception_catch(
disable_exception_catch = b;
}
namespace migraphx {
template <class F>
migraphx_status try_(F f, bool output = true) // NOLINT
{
......
Markdown is supported
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