struct get_payload_array: boost::static_visitor<>
{
template<typename T>
- void operator()(T& arr)
+ void operator()(T& /*arr*/)
{
throw std::logic_error("Invalid calc_dimensions_visitor type");
}
{
m_children = children;
}
+ void OCRepresentation::setUri(const char* uri)
+ {
+ m_uri = uri ? uri : "";
+ }
void OCRepresentation::setUri(const std::string& uri)
{
type(AttributeType::Null), base_type(AttributeType::Null), depth(0){}
template <typename T>
- void operator()(T const& item)
+ void operator()(T const& /*item*/)
{
type = type_info<T>::enum_type;
base_type = type_info<T>::enum_base_type;
}
template<>
- void to_string_visitor::operator()(NullType const& item)
+ void to_string_visitor::operator()(NullType const& /*item*/)
{
str = "(null)";
}
template<>
- void to_string_visitor::operator()(OCRepresentation const& item)
+ void to_string_visitor::operator()(OCRepresentation const& /*item*/)
{
str = "OC::OCRepresentation";
}