Skip to content

Commit cc957e5

Browse files
committed
Fix misspelling
1 parent b4b46ee commit cc957e5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tinyexpr.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ class te_parser
249249
te_parser(const te_parser& that)
250250
: m_customFuncsAndVars(that.m_customFuncsAndVars),
251251
m_unknownSymbolResolve(that.m_unknownSymbolResolve),
252-
m_keepResolvedVarialbes(that.m_keepResolvedVarialbes),
252+
m_keepResolvedVariables(that.m_keepResolvedVariables),
253253
m_decimalSeparator(that.m_decimalSeparator), m_listSeparator(that.m_listSeparator)
254254
{
255255
}
@@ -258,7 +258,7 @@ class te_parser
258258
{
259259
m_customFuncsAndVars = that.m_customFuncsAndVars;
260260
m_unknownSymbolResolve = that.m_unknownSymbolResolve;
261-
m_keepResolvedVarialbes = that.m_keepResolvedVarialbes;
261+
m_keepResolvedVariables = that.m_keepResolvedVariables;
262262
m_decimalSeparator = that.m_decimalSeparator;
263263
m_listSeparator = that.m_listSeparator;
264264

@@ -440,7 +440,7 @@ class te_parser
440440
const bool keepResolvedVariables = true)
441441
{
442442
m_unknownSymbolResolve = usr;
443-
m_keepResolvedVarialbes = keepResolvedVariables;
443+
m_keepResolvedVariables = keepResolvedVariables;
444444
}
445445

446446
/// @private
@@ -627,7 +627,7 @@ class te_parser
627627
/// @brief Resets any resolved variables from USR if not being cached.
628628
void reset_usr_resolved_if_necessary()
629629
{
630-
if (!m_keepResolvedVarialbes && m_resolvedVariables.size())
630+
if (!m_keepResolvedVariables && m_resolvedVariables.size())
631631
{
632632
for (const auto& resolvedVar : m_resolvedVariables)
633633
{
@@ -1131,7 +1131,7 @@ class te_parser
11311131

11321132
te_usr_variant_type m_unknownSymbolResolve{ te_usr_noop{} };
11331133

1134-
bool m_keepResolvedVarialbes{ true };
1134+
bool m_keepResolvedVariables{ true };
11351135

11361136
char m_decimalSeparator{ '.' };
11371137
char m_listSeparator{ ',' };

0 commit comments

Comments
 (0)