Commit 63e3b9a6 authored by Manuel Grizonnet's avatar Manuel Grizonnet

WRG: remaining warnings related to dllimport references

parent 9dec032b
......@@ -42,6 +42,12 @@ using boost::interprocess::move;
/*===========================================================================*/
/*================================[ Feature ]================================*/
/*===========================================================================*/
inline
void otb::ogr::Feature::CheckInvariants() const
{
assert(m_Feature && "OGRFeature can't be null");
}
inline
otb::ogr::Feature otb::ogr::Feature::Clone() const
{
......@@ -199,11 +205,4 @@ void otb::ogr::Feature::PrintSelf(std::ostream & os, itk::Indent indent) const
UncheckedPrintSelf(os, indent);
}
inline
void otb::ogr::Feature::CheckInvariants() const
{
assert(m_Feature && "OGRFeature can't be null");
}
#endif // otbOGRFeatureWrapper_txx
......@@ -506,7 +506,11 @@ public:
*/
OGRwkbGeometryType GetGeomType() const;
friend bool otb::ogr::operator==(Layer const& lhs, Layer const& rhs);
friend bool operator==(Layer const& lhs, Layer const& rhs)
{
const bool equal = lhs.m_Layer.get() == rhs.m_Layer.get();
return equal;
}
private:
/**
......
......@@ -448,8 +448,3 @@ OGRwkbGeometryType otb::ogr::Layer::GetGeomType() const
#endif
}
bool otb::ogr::operator==(Layer const& lhs, Layer const& rhs)
{
const bool equal = lhs.m_Layer.get() == rhs.m_Layer.get();
return equal;
}
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