Commit 5185493f authored by Guillaume Pasero's avatar Guillaume Pasero

Merge branch 'warning-fixes' into 'develop'

Some warning fixes

See merge request !206
parents a68cd0aa e5c95fd0
......@@ -33,8 +33,10 @@
#pragma GCC diagnostic ignored "-Wsign-compare"
#pragma GCC diagnostic ignored "-Wcast-align"
#pragma GCC diagnostic ignored "-Wunknown-pragmas"
#pragma GCC diagnostic ignored "-Wheader-guard"
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wheader-guard"
#endif
#endif
#include <shark/Models/Classifier.h>
#include "otb_shark.h"
......
......@@ -30,6 +30,9 @@
#pragma GCC diagnostic ignored "-Wshadow"
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wsign-compare"
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wheader-guard"
#endif
#endif
#include "otb_shark.h"
#include "shark/Data/Dataset.h"
......
......@@ -68,7 +68,7 @@ public:
}
// Reimplement the SetActive method
void SetActive( const bool value ) override
void SetActive( bool value ) override
{
Superclass::SetActive( value );
m_StringParam->SetActive( value );
......
......@@ -83,7 +83,7 @@ public:
}
// Reimplement the SetActive method
void SetActive( const bool value ) override
void SetActive( bool value ) override
{
Superclass::SetActive( value );
m_UnsignedIntParam->SetActive( value );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment