Commit 3fca40f1 authored by Davis King's avatar Davis King

Changed to avoid gcc warnings

parent 91ed0085
...@@ -365,12 +365,12 @@ namespace dlib ...@@ -365,12 +365,12 @@ namespace dlib
} }
friend void serialize(const input& item, std::ostream& out) friend void serialize(const input& /*item*/, std::ostream& out)
{ {
serialize("input<matrix>", out); serialize("input<matrix>", out);
} }
friend void deserialize(input& item, std::istream& in) friend void deserialize(input& /*item*/, std::istream& in)
{ {
std::string version; std::string version;
deserialize(version, in); deserialize(version, in);
...@@ -378,13 +378,13 @@ namespace dlib ...@@ -378,13 +378,13 @@ namespace dlib
throw serialization_error("Unexpected version found while deserializing dlib::input."); throw serialization_error("Unexpected version found while deserializing dlib::input.");
} }
friend std::ostream& operator<<(std::ostream& out, const input& item) friend std::ostream& operator<<(std::ostream& out, const input& /*item*/)
{ {
out << "input<matrix>"; out << "input<matrix>";
return out; return out;
} }
friend void to_xml(const input& item, std::ostream& out) friend void to_xml(const input& /*item*/, std::ostream& out)
{ {
out << "<input/>"; out << "<input/>";
} }
......
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