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
Antoine Belvire
otb
Commits
1aaae972
Commit
1aaae972
authored
16 years ago
by
Emmanuel Christophe
Browse files
Options
Downloads
Patches
Plain Diff
BUG: virtual destructor for base class
parent
40b46e58
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Code/Visualization/otbLayerBasedModel.h
+8
-8
8 additions, 8 deletions
Code/Visualization/otbLayerBasedModel.h
Code/Visualization/otbMVCModelBase.h
+1
-1
1 addition, 1 deletion
Code/Visualization/otbMVCModelBase.h
with
9 additions
and
9 deletions
Code/Visualization/otbLayerBasedModel.h
+
8
−
8
View file @
1aaae972
...
...
@@ -25,13 +25,13 @@ namespace otb
{
/** \class LayerBasedModel
* \brief Base class providing layer stack model
*
*
* \sa Layer, ImageLayer
* \sa BlendingFunction
*
*/
template
<
class
TLayer
>
template
<
class
TLayer
>
class
LayerBasedModel
:
public
itk
::
Object
{
...
...
@@ -41,7 +41,7 @@ public:
typedef
itk
::
Object
Superclass
;
typedef
itk
::
SmartPointer
<
Self
>
Pointer
;
typedef
itk
::
SmartPointer
<
const
Self
>
ConstPointer
;
/** Runtime information */
itkTypeMacro
(
LayerBasedModel
,
Object
);
...
...
@@ -50,7 +50,7 @@ public:
/** Layer typedef */
typedef
TLayer
LayerType
;
/** Layer list typedef */
typedef
otb
::
ObjectList
<
LayerType
>
LayerListType
;
typedef
typename
LayerListType
::
Pointer
LayerListPointerType
;
...
...
@@ -98,13 +98,13 @@ public:
/** Set/Get the layers stack */
itkSetObjectMacro
(
Layers
,
LayerListType
);
itkGetObjectMacro
(
Layers
,
LayerListType
);
protected:
/** Constructor */
LayerBasedModel
();
/** Destructor */
~
LayerBasedModel
();
virtual
~
LayerBasedModel
();
/** Printself method */
void
PrintSelf
(
std
::
ostream
&
os
,
itk
::
Indent
indent
)
const
;
...
...
@@ -118,8 +118,8 @@ private:
/** Layer list */
LayerListPointerType
m_Layers
;
};
// end class
};
// end class
}
// end namespace otb
#ifndef OTB_MANUAL_INSTANTIATION
...
...
This diff is collapsed.
Click to expand it.
Code/Visualization/otbMVCModelBase.h
+
1
−
1
View file @
1aaae972
...
...
@@ -73,7 +73,7 @@ protected:
/** Constructor */
MVCModelBase
()
{}
/** Destructor */
~
MVCModelBase
()
{}
virtual
~
MVCModelBase
()
{}
private
:
/** Registered liteners */
...
...
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