Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
89d54e26
Commit
89d54e26
authored
Apr 17, 2015
by
Julien Michel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
COMP: Remove itkTypeMacro (not an itk derived object) and use the GenericExceptionMacro accordingly
parent
9e06bc36
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
Modules/Adapters/OSSIMAdapters/include/otbImageKeywordlist.h
Modules/Adapters/OSSIMAdapters/include/otbImageKeywordlist.h
+0
-3
Modules/Adapters/OSSIMAdapters/src/otbImageKeywordlist.cxx
Modules/Adapters/OSSIMAdapters/src/otbImageKeywordlist.cxx
+1
-1
No files found.
Modules/Adapters/OSSIMAdapters/include/otbImageKeywordlist.h
View file @
89d54e26
...
...
@@ -82,9 +82,6 @@ public:
typedef
std
::
map
<
std
::
string
,
std
::
string
>
KeywordlistMap
;
/** Run-time type information (and related methods). */
itkTypeMacro
(
ImageKeywordlist
,
ImageKeywordlist
);
/** Get the internal map container */
const
KeywordlistMap
&
GetKeywordlist
()
const
{
...
...
Modules/Adapters/OSSIMAdapters/src/otbImageKeywordlist.cxx
View file @
89d54e26
...
...
@@ -90,7 +90,7 @@ GetMetadataByKey(const std::string& key) const
// If the key can not be found, throw an exception
if
(
it
==
m_Keywordlist
.
end
())
{
itkExceptionMacro
(
<<
"Keywordlist has no output with key "
<<
key
);
itk
Generic
ExceptionMacro
(
<<
"Keywordlist has no output with key "
<<
key
);
}
// Then if everything is ok, return the ossinString
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment