Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
acgl
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ACGL
acgl
Commits
22c374d5
Commit
22c374d5
authored
May 08, 2014
by
Janis Born
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix -Wdeprecated-increment-bool warnings
parent
ff03bf53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
include/ACGL/Utils/PerformanceTimer.hh
include/ACGL/Utils/PerformanceTimer.hh
+8
-2
No files found.
include/ACGL/Utils/PerformanceTimer.hh
View file @
22c374d5
...
...
@@ -140,7 +140,10 @@ class CSystemTimer : public CProcessTimer
public:
CSystemTimer
()
:
CProcessTimer
()
{
static
bool
warned
=
false
;
if
(
!
warned
++
)
ACGL
::
Utils
::
error
()
<<
"No system timer present on this OS - fallback to process time"
<<
std
::
endl
;
if
(
!
warned
)
{
ACGL
::
Utils
::
error
()
<<
"No system timer present on this OS - fallback to process time"
<<
std
::
endl
;
warned
=
true
;
}
}
};
...
...
@@ -150,7 +153,10 @@ class CThreadTimer : public CProcessTimer
public:
CThreadTimer
()
:
CProcessTimer
()
{
static
bool
warned
=
false
;
if
(
!
warned
++
)
ACGL
::
Utils
::
error
()
<<
"No thread timer present on this OS - fallback to process time"
<<
std
::
endl
;
if
(
!
warned
)
{
ACGL
::
Utils
::
error
()
<<
"No thread timer present on this OS - fallback to process time"
<<
std
::
endl
;
warned
=
true
;
}
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment