Commit 017deaf9 authored by Roland Levillain's avatar Roland Levillain
Browse files

Make mln::util::timer copy-constructible and (copy-)assignable.

	* mln/util/timer.hh: Rely on the default copy constructor and
	the default (copy-)assignment operator.
parent 808ccde7
2013-06-18 Roland Levillain <roland@lrde.epita.fr>
Make mln::util::timer copy-constructible and (copy-)assignable.
* mln/util/timer.hh: Rely on the default copy constructor and
the default (copy-)assignment operator.
2013-06-14 Roland Levillain <roland@lrde.epita.fr>
 
Shell-related portability fixes in Milena's Makefiles.
......@@ -49,13 +49,6 @@ namespace mln
timer();
// Explicit copy constructor (in most cases should not be
// used...).
explicit timer(const timer&);
// Without impl.
void operator=(const timer&);
~timer();
void start();
......@@ -104,14 +97,6 @@ namespace mln
reset();
}
inline
timer::timer(const timer& t)
{
running_ = t.running_;
start_ = t.start_;
time_ = t.time_;
}
inline
timer::~timer()
{
......
Supports Markdown
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