+ fixed unused paramater warning
This commit is contained in:
parent
8687dd795d
commit
dd12ac8e36
1 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,7 @@
|
||||||
// boost
|
// boost
|
||||||
#include <boost/variant.hpp>
|
#include <boost/variant.hpp>
|
||||||
#include <boost/scoped_array.hpp>
|
#include <boost/scoped_array.hpp>
|
||||||
|
#include <boost/concept_check.hpp>
|
||||||
// stl
|
// stl
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -440,6 +441,7 @@ namespace mapnik {
|
||||||
template <typename T>
|
template <typename T>
|
||||||
bool operator() (T val) const
|
bool operator() (T val) const
|
||||||
{
|
{
|
||||||
|
boost::ignore_unused_variable_warning(val);
|
||||||
throw config_error("Boolean value expected");
|
throw config_error("Boolean value expected");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -476,6 +478,7 @@ namespace mapnik {
|
||||||
|
|
||||||
std::string operator() (value_null const& val) const
|
std::string operator() (value_null const& val) const
|
||||||
{
|
{
|
||||||
|
boost::ignore_unused_variable_warning(val);
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -506,6 +509,7 @@ namespace mapnik {
|
||||||
|
|
||||||
UnicodeString operator() (value_null const& val) const
|
UnicodeString operator() (value_null const& val) const
|
||||||
{
|
{
|
||||||
|
boost::ignore_unused_variable_warning(val);
|
||||||
return UnicodeString("");
|
return UnicodeString("");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -536,6 +540,7 @@ namespace mapnik {
|
||||||
|
|
||||||
std::string operator() (value_null const& val) const
|
std::string operator() (value_null const& val) const
|
||||||
{
|
{
|
||||||
|
boost::ignore_unused_variable_warning(val);
|
||||||
return "null";
|
return "null";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue