Commit 3c1e10ef authored by Paul's avatar Paul
Browse files

Format

parent 661a6bbc
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <map> #include <map>
#include "test.hpp" #include "test.hpp"
template<class T> template <class T>
auto msgpack_type(migraphx::rank<0>, T src) auto msgpack_type(migraphx::rank<0>, T src)
{ {
if constexpr(std::is_class<T>{}) if constexpr(std::is_class<T>{})
...@@ -36,7 +36,7 @@ auto msgpack_type(migraphx::rank<0>, T src) ...@@ -36,7 +36,7 @@ auto msgpack_type(migraphx::rank<0>, T src)
return src; return src;
} }
template<class T> template <class T>
auto msgpack_type(migraphx::rank<1>, const T& src) -> decltype(src.empty(), std::vector<T>{}) auto msgpack_type(migraphx::rank<1>, const T& src) -> decltype(src.empty(), std::vector<T>{})
{ {
if(src.empty()) if(src.empty())
......
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