Stefan Schuermans commited on 2014-03-18 22:39:13 Showing 2 changed files, with 2 additions and 2 deletions.
@@ -174,7 +174,7 @@ time_t Time::toSec() const
* @brief convert to floating point seconds
* @return time in seconds
*/
-float Time::toFloatSec()
+float Time::toFloatSec() const
{
return m_sec + m_ns * 1.0e-9f;
}
@@ -77,7 +77,7 @@ public:
- float toFloatSec();
+ float toFloatSec() const;
/**
* @brief convert to struct timeval