Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic-graph
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Stack Of Tasks
dynamic-graph
Commits
4d6b4a9f
Unverified
Commit
4d6b4a9f
authored
3 years ago
by
Guilhem Saurel
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #91 from nim65s/devel
update deprecations for C++14
parents
8d3641ba
5fde0e3a
No related branches found
No related tags found
No related merge requests found
Pipeline
#15892
passed
3 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/dynamic-graph/logger.h
+4
-3
4 additions, 3 deletions
include/dynamic-graph/logger.h
include/dynamic-graph/signal-ptr.h
+0
-2
0 additions, 2 deletions
include/dynamic-graph/signal-ptr.h
src/dgraph/entity.cpp
+1
-1
1 addition, 1 deletion
src/dgraph/entity.cpp
with
5 additions
and
6 deletions
include/dynamic-graph/logger.h
+
4
−
3
View file @
4d6b4a9f
...
...
@@ -221,15 +221,16 @@ public:
* stream(type, lineId) << msg << '\n';
* \endcode
*/
void
sendMsg
(
std
::
string
msg
,
MsgType
type
,
const
std
::
string
&
lineId
=
""
);
[[
deprecated
(
"use stream(type, lineId) << msg"
)]]
void
sendMsg
(
std
::
string
msg
,
MsgType
type
,
const
std
::
string
&
lineId
=
""
);
/** \deprecated instead, use
* \code
* stream(type, lineId) << msg << '\n';
* \endcode
*/
void
sendMsg
(
std
::
string
msg
,
MsgType
type
,
const
std
::
string
&
file
,
int
line
)
DYNAMIC_GRAPH_DEPRECATED
;
[[
deprecated
(
"use stream(type, lineId) << msg"
)]]
void
sendMsg
(
std
::
string
msg
,
MsgType
type
,
const
std
::
string
&
file
,
int
line
)
;
/** Set the sampling time at which the method countdown()
* is going to be called. */
...
...
This diff is collapsed.
Click to expand it.
include/dynamic-graph/signal-ptr.h
+
0
−
2
View file @
4d6b4a9f
...
...
@@ -9,8 +9,6 @@
#include
<dynamic-graph/exception-signal.h>
#include
<dynamic-graph/signal.h>
#include
<dynamic-graph/deprecated.hh>
namespace
dynamicgraph
{
/// \ingroup dgraph
///
...
...
This diff is collapsed.
Click to expand it.
src/dgraph/entity.cpp
+
1
−
1
View file @
4d6b4a9f
...
...
@@ -209,5 +209,5 @@ Command *Entity::getNewStyleCommand(const std::string &commandName) {
void
Entity
::
sendMsg
(
const
std
::
string
&
msg
,
MsgType
t
,
const
std
::
string
&
lineId
)
{
logger_
.
s
endMsg
(
"["
+
name
+
"]"
+
msg
,
t
,
lineId
)
;
logger_
.
s
tream
(
t
,
lineId
)
<<
"["
<<
name
<<
"]"
<<
msg
<<
'\n'
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment