mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-07-18 09:38:08 +00:00
Removed extraneous break statements that caused nvc++ to give warnings (#171)
This commit is contained in:
@@ -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."};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user