Rename r_pod_cast function to safePodCast

Rename is necessary, because NEO uses camelCase convention for
function names.

Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
This commit is contained in:
Fabian Zwolinski
2022-05-18 13:35:38 +02:00
committed by Compute-Runtime-Automation
parent 4aa7cc527a
commit d69bf76282
2 changed files with 6 additions and 6 deletions

View File

@@ -11,7 +11,7 @@
namespace NEO {
template <typename To, typename From>
constexpr To r_pod_cast(From *f) { // NOLINT(readability-identifier-naming)
constexpr To safePodCast(From *f) {
typedef typename std::remove_pointer<From>::type FromType;
typedef typename std::remove_pointer<To>::type ToType;