Commit 9eb3f66c authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

update deprecations for C++14

parent 8d3641ba
......@@ -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. */
......
......@@ -9,8 +9,6 @@
#include <dynamic-graph/exception-signal.h>
#include <dynamic-graph/signal.h>
#include <dynamic-graph/deprecated.hh>
namespace dynamicgraph {
/// \ingroup dgraph
///
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment