Removed extraneous break statements that caused nvc++ to give warnings (#171)

This commit is contained in:
Cliff Burdick
2024-05-17 13:35:11 -07:00
committed by GitHub
parent 961fa91258
commit 088c9ee658

View File

@@ -91,16 +91,12 @@ inline std::string_view axis_type_to_string(axis_type type)
{
case axis_type::type:
return "type";
break;
case axis_type::int64:
return "int64";
break;
case axis_type::float64:
return "float64";
break;
case axis_type::string:
return "string";
break;
}
throw std::runtime_error{"nvbench::axis_type_to_string Invalid axis_type."};
}