Commit f584e787 authored by Adrià Arrufat's avatar Adrià Arrufat Committed by Davis E. King

Even more warning silencing (#1766)

These warnings occurred when building the semantic segmentation
examples
parent f3f1a826
......@@ -2464,13 +2464,13 @@ namespace dlib
throw serialization_error("Unexpected version '"+version+"' found while deserializing dlib::resize_prev_to_tagged_.");
}
friend std::ostream& operator<<(std::ostream& out, const resize_prev_to_tagged_& item)
friend std::ostream& operator<<(std::ostream& out, const resize_prev_to_tagged_& )
{
out << "resize_prev_to_tagged"<<id;
return out;
}
friend void to_xml(const resize_prev_to_tagged_& item, std::ostream& out)
friend void to_xml(const resize_prev_to_tagged_& , std::ostream& out)
{
out << "<resize_prev_to_tagged tag='"<<id<<"'/>\n";
}
......@@ -3127,14 +3127,14 @@ namespace dlib
const tensor& get_layer_params() const { return params; }
tensor& get_layer_params() { return params; }
friend void serialize(const concat_& item, std::ostream& out)
friend void serialize(const concat_& , std::ostream& out)
{
serialize("concat_", out);
size_t count = tag_count();
serialize(count, out);
}
friend void deserialize(concat_& item, std::istream& in)
friend void deserialize(concat_& , std::istream& in)
{
std::string version;
deserialize(version, in);
......@@ -3148,7 +3148,7 @@ namespace dlib
" found while deserializing dlib::concat_.");
}
friend std::ostream& operator<<(std::ostream& out, const concat_& item)
friend std::ostream& operator<<(std::ostream& out, const concat_& )
{
out << "concat\t (";
list_tags(out);
......@@ -3156,7 +3156,7 @@ namespace dlib
return out;
}
friend void to_xml(const concat_& item, std::ostream& out)
friend void to_xml(const concat_& , std::ostream& out)
{
out << "<concat tags='";
list_tags(out);
......
......@@ -136,7 +136,7 @@ namespace dlib
dpoint& p;
template<typename input_layer_type>
void operator()(const input_layer_type& net)
void operator()(const input_layer_type& )
{
}
......@@ -196,7 +196,7 @@ namespace dlib
dpoint& p;
template<typename input_layer_type>
void operator()(const input_layer_type& net)
void operator()(const input_layer_type& )
{
}
......
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