Commit fc6b013f authored by Cédric Traizet's avatar Cédric Traizet
Browse files

REFAC: add missing include and avoid redeclaration of friend function

parent c5142da9
Pipeline #9096 failed with stages
in 77 minutes and 49 seconds
......@@ -26,6 +26,7 @@
#include <cmath>
#include <boost/operators.hpp>
#include <chrono>
#include <string>
namespace otb
......@@ -225,13 +226,12 @@ public:
std::ostream & Display(std::ostream & os) const;
std::istream & Read (std::istream & is);
friend Duration Abs(Duration d);
friend OTBMetadata_EXPORT Duration Abs(Duration d);
InternalDurationType m_Duration;
OTBMetadata_EXPORT Duration Abs(Duration d);
OTBMetadata_EXPORT double Ratio(const Duration & lhs, const Duration & rhs);
OTBMetadata_EXPORT TimePoint ReadFormattedDate(const std::string & dateStr, const std::string & format = details::timePointFormat);
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