From 4a653f137988f743d6379f675b43035819a525ed Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Fri, 6 Oct 2023 18:21:26 -0400 Subject: [PATCH] Fix naming --- LEGO1/legoutil.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/legoutil.h b/LEGO1/legoutil.h index c9f535a4..cc54da74 100644 --- a/LEGO1/legoutil.h +++ b/LEGO1/legoutil.h @@ -33,9 +33,9 @@ inline void GetScalar(char **p_source, T& p_dest) template inline T GetScalar(T **p_source) { - T p_val = **p_source; + T val = **p_source; *p_source += 1; - return p_val; + return val; } template