Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
fc6b013f
Commit
fc6b013f
authored
Nov 10, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Modules/Core/Metadata/include/otbDateTime.h
View file @
fc6b013f
...
...
@@ -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
);
private:
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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment