Commit f282fcf3 authored by Manuel Grizonnet's avatar Manuel Grizonnet

WRG: inverse inlined method definition to avoid redeclared without dllimport attribute

parent 39939cac
......@@ -166,6 +166,9 @@ public:
*/
void Assign(Field const& f);
/** \copydoc Field::ogr() const */
OGRField & ogr();
/** Access to the raw underlying OGR data.
* This function provides an abstraction leak in case deeper control on the
* underlying \c OGRFeature is required.
......@@ -174,9 +177,6 @@ public:
*/
OGRField & ogr() const;
/** \copydoc Field::ogr() const */
OGRField & ogr();
private:
/**\name Unchecked definitions
* All the definitions that follow do the real work. However, they are not the
......
......@@ -465,12 +465,6 @@ void otb::ogr::Field::Assign(Field const& f)
CheckInvariants();
}
inline
OGRField & otb::ogr::Field::ogr() const
{
return const_cast <Field*>(this)->ogr();
}
inline
OGRField & otb::ogr::Field::ogr()
{
......@@ -480,4 +474,10 @@ OGRField & otb::ogr::Field::ogr()
return *f;
}
inline
OGRField & otb::ogr::Field::ogr() const
{
return const_cast <Field*>(this)->ogr();
}
#endif // otbOGRFieldWrapper_txx
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