Changed to avoid gcc warnings

This commit is contained in:
Davis King 2016-11-26 08:17:24 -05:00
parent 91ed00851a
commit 3fca40f189
1 changed files with 4 additions and 4 deletions

View File

@ -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);
}
friend void deserialize(input& item, std::istream& in)
friend void deserialize(input& /*item*/, std::istream& in)
{
std::string version;
deserialize(version, in);
@ -378,13 +378,13 @@ namespace dlib
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>";
return out;
}
friend void to_xml(const input& item, std::ostream& out)
friend void to_xml(const input& /*item*/, std::ostream& out)
{
out << "<input/>";
}