Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas
athena
Merge requests
!47058
AGDDControl: Fix cppcheck warnings.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
AGDDControl: Fix cppcheck warnings.
ssnyder/athena:cppcheck.AGDDControl-20211008
into
master
Overview
2
Commits
1
Pipelines
1
Changes
3
Merged
Scott Snyder
requested to merge
ssnyder/athena:cppcheck.AGDDControl-20211008
into
master
3 years ago
Overview
2
Commits
1
Pipelines
1
Changes
3
Expand
Fix cppcheck warnings.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
738dfaa5
1 commit,
3 years ago
3 files
+
14
−
14
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
DetectorDescription/AGDD/AGDDControl/AGDDControl/ExpressionEvaluator.h
+
5
−
5
Options
@@ -22,9 +22,9 @@ public:
~
ExpressionEvaluator
();
bool
RegisterConstant
(
std
::
string
&
c
,
double
v
);
bool
RegisterPhysConstant
(
std
::
string
&
,
std
::
string
,
std
::
string
);
bool
RegisterExpression
(
std
::
string
&
c
,
std
::
string
v
);
bool
RegisterArray
(
std
::
string
&
c
,
std
::
vector
<
double
>
v
);
bool
RegisterPhysConstant
(
std
::
string
&
,
const
std
::
string
&
,
const
std
::
string
&
);
bool
RegisterExpression
(
std
::
string
&
c
,
const
std
::
string
&
v
);
bool
RegisterArray
(
std
::
string
&
c
,
const
std
::
vector
<
double
>
&
v
);
bool
RegisterVariable
(
const
std
::
string
&
var_name
,
double
value
);
double
EvaluateString
(
const
std
::
string
&
str
);
@@ -33,10 +33,10 @@ public:
double
Eval
(
const
std
::
string
&
expr
);
double
Eval
(
const
char
*
expr
);
static
std
::
string
trim
(
const
std
::
string
);
static
std
::
string
trim
(
const
std
::
string
&
);
static
std
::
vector
<
std
::
string
>
tokenize
(
const
std
::
string
&
,
const
std
::
string
&
);
void
setFileCurrentlyParsed
(
std
::
string
set
)
void
setFileCurrentlyParsed
(
const
std
::
string
&
set
)
{
m_fileCurrentlyParsed
=
set
;
}
Loading