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
Main Repositories
otb
Commits
f579feda
Commit
f579feda
authored
14 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
WRG: use itkLegacyMacro properly
parent
6fec53e1
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
Code/Learning/otbSVMModelEstimator.h
+1
-1
1 addition, 1 deletion
Code/Learning/otbSVMModelEstimator.h
Code/Projections/otbOrthoRectificationFilter.h
+4
-1
4 additions, 1 deletion
Code/Projections/otbOrthoRectificationFilter.h
with
5 additions
and
2 deletions
Code/Learning/otbSVMModelEstimator.h
+
1
−
1
View file @
f579feda
...
@@ -105,7 +105,7 @@ public:
...
@@ -105,7 +105,7 @@ public:
/** Set the number of classes. This method is deprecated and is
/** Set the number of classes. This method is deprecated and is
* maintained for backward compatibility only */
* maintained for backward compatibility only */
itkLegacyMacro
(
void
SetNumberOfClasses
(
unsigned
int
/*
nbClasses
*/
)
{}
)
itkLegacyMacro
(
void
SetNumberOfClasses
(
unsigned
int
itkNotUsed
(
nbClasses
)
)
{}
/** Get the number of classes */
/** Get the number of classes */
unsigned
int
GetNumberOfClasses
()
unsigned
int
GetNumberOfClasses
()
...
...
This diff is collapsed.
Click to expand it.
Code/Projections/otbOrthoRectificationFilter.h
+
4
−
1
View file @
f579feda
...
@@ -93,7 +93,10 @@ public:
...
@@ -93,7 +93,10 @@ public:
* Set the output size. This method is deprecated and is
* Set the output size. This method is deprecated and is
* maintained for backward compatibility only
* maintained for backward compatibility only
*/
*/
itkLegacyMacro
(
void
SetSize
(
const
SizeType
&
size
){
this
->
SetOutputSize
(
size
);
});
itkLegacyMacro
(
void
SetSize
(
const
SizeType
&
size
)
)
{
this
->
SetOutputSize
(
size
);
}
protected
:
protected
:
OrthoRectificationFilter
();
OrthoRectificationFilter
();
...
...
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