Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sébastien Peillet
otb
Commits
f282fcf3
Commit
f282fcf3
authored
8 years ago
by
Manuel Grizonnet
Browse files
Options
Downloads
Patches
Plain Diff
WRG: inverse inlined method definition to avoid redeclared without dllimport attribute
parent
39939cac
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Modules/Adapters/GdalAdapters/include/otbOGRFieldWrapper.h
+3
-3
3 additions, 3 deletions
Modules/Adapters/GdalAdapters/include/otbOGRFieldWrapper.h
Modules/Adapters/GdalAdapters/include/otbOGRFieldWrapper.txx
+6
-6
6 additions, 6 deletions
Modules/Adapters/GdalAdapters/include/otbOGRFieldWrapper.txx
with
9 additions
and
9 deletions
Modules/Adapters/GdalAdapters/include/otbOGRFieldWrapper.h
+
3
−
3
View file @
f282fcf3
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Modules/Adapters/GdalAdapters/include/otbOGRFieldWrapper.txx
+
6
−
6
View file @
f282fcf3
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment