Skip to content

Commit 4f45940

Browse files
committed
training: Fix compiler warnings (deprecated register keyword)
training/commontraining.cpp:824:3: warning: 'register' storage class specifier is deprecated and incompatible with C++1z [-Wdeprecated-register] ... Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent 7e90200 commit 4f45940

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

training/commontraining.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -821,9 +821,9 @@ CLASS_STRUCT* SetUpForFloat2Int(const UNICHARSET& unicharset,
821821
void Normalize (
822822
float *Values)
823823
{
824-
register float Slope;
825-
register float Intercept;
826-
register float Normalizer;
824+
float Slope;
825+
float Intercept;
826+
float Normalizer;
827827

828828
Slope = tan (Values [2] * 2 * PI);
829829
Intercept = Values [1] - Slope * Values [0];

0 commit comments

Comments
 (0)