Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
207
Issues
207
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main Repositories
otb
Commits
eaacd019
Commit
eaacd019
authored
Jun 08, 2016
by
Stéphane Albert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
COMP: Fixed unused function arguments compilation errors in DEBUG/RELEASE modes.
parent
abc01ec7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
6 deletions
+17
-6
Code/Common/ApplicationsWrapper/mvdWrapperQtWidgetParameterInitializers.h
...icationsWrapper/mvdWrapperQtWidgetParameterInitializers.h
+1
-1
Code/Common/Core/mvdStackedLayerModel.cxx
Code/Common/Core/mvdStackedLayerModel.cxx
+1
-1
Code/Common/Gui/mvdImageViewManipulator.cxx
Code/Common/Gui/mvdImageViewManipulator.cxx
+1
-1
Code/Common/Gui/mvdQuicklookViewManipulator.cxx
Code/Common/Gui/mvdQuicklookViewManipulator.cxx
+3
-3
ConfigureMonteverdi.h.in
ConfigureMonteverdi.h.in
+11
-0
No files found.
Code/Common/ApplicationsWrapper/mvdWrapperQtWidgetParameterInitializers.h
View file @
eaacd019
...
...
@@ -532,7 +532,7 @@ InputProcessXMLInitializer
inline
ToolTipInitializer
::
result_type
ToolTipInitializer
::
operator
()
(
argument_type
widget
)
const
::
operator
()
(
argument_type
mvdUseInDebug
(
widget
)
)
const
{
assert
(
widget
!=
NULL
);
...
...
Code/Common/Core/mvdStackedLayerModel.cxx
View file @
eaacd019
...
...
@@ -314,7 +314,7 @@ StackedLayerModel
/*******************************************************************************/
std
::
string
StackedLayerModel
::
GenerateKey
(
AbstractLayerModel
*
layerModel
)
::
GenerateKey
(
AbstractLayerModel
*
mvdUseInDebug
(
layerModel
)
)
{
std
::
ostringstream
oss
;
...
...
Code/Common/Gui/mvdImageViewManipulator.cxx
View file @
eaacd019
...
...
@@ -530,7 +530,7 @@ ImageViewManipulator
/******************************************************************************/
void
ImageViewManipulator
::
ResizeEvent
(
QResizeEvent
*
event
)
::
ResizeEvent
(
QResizeEvent
*
mvdUseInDebug
(
event
)
)
{
assert
(
event
!=
NULL
);
...
...
Code/Common/Gui/mvdQuicklookViewManipulator.cxx
View file @
eaacd019
...
...
@@ -220,7 +220,7 @@ QuicklookViewManipulator
/******************************************************************************/
void
QuicklookViewManipulator
::
WheelEvent
(
QWheelEvent
*
event
)
::
WheelEvent
(
QWheelEvent
*
mvdUseInDebug
(
event
)
)
{
assert
(
event
!=
NULL
);
}
...
...
@@ -228,7 +228,7 @@ QuicklookViewManipulator
/******************************************************************************/
void
QuicklookViewManipulator
::
KeyPressEvent
(
QKeyEvent
*
event
)
::
KeyPressEvent
(
QKeyEvent
*
mvdUseInDebug
(
event
)
)
{
assert
(
event
!=
NULL
);
...
...
@@ -238,7 +238,7 @@ QuicklookViewManipulator
/******************************************************************************/
void
QuicklookViewManipulator
::
KeyReleaseEvent
(
QKeyEvent
*
event
)
::
KeyReleaseEvent
(
QKeyEvent
*
mvdUseInDebug
(
event
)
)
{
assert
(
event
!=
NULL
);
...
...
ConfigureMonteverdi.h.in
View file @
eaacd019
...
...
@@ -148,4 +148,15 @@
// #if (defined( _DEBUG ) && FORCE_DISABLE) || FORCE_ENABLE
#define USE_OPTION_SAMPLE ((defined( _DEBUG ) && 0) || 0)
//
// Macros
#ifdef _DEBUG
# define mvdUseInDebug( name ) name
# define mvdUseInRelease( name )
#else // _DEBUG
# define mvdUseInDebug( name )
# define mvdUseInRelease( name ) name
#endif // _DEBUG
#endif // __ConfigureMonteverdi_h
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