summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-02-12 23:25:57 +0000
committerCarl Hetherington <cth@carlh.net>2014-02-12 23:25:57 +0000
commite8c4fd0e0581849fcf41d918e79b00b84fe24d70 (patch)
tree0e087c053238118dc89ff49a0fb6dff838a6ad8a /src/util.h
parent6161444eab9e0c22c4a42a1b254745b8bee82b50 (diff)
Various small fixes.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 2bfeb60a..ca00ecb9 100644
--- a/src/util.h
+++ b/src/util.h
@@ -70,9 +70,10 @@ struct Size
extern bool operator== (Size const & a, Size const & b);
extern bool operator!= (Size const & a, Size const & b);
+extern std::ostream& operator<< (std::ostream& s, Size const & a);
extern std::string make_uuid ();
-extern std::string make_digest (boost::filesystem::path filename, boost::function<void (float)> *);
+extern std::string make_digest (boost::filesystem::path filename, boost::function<void (float)>);
extern std::string content_kind_to_string (ContentKind kind);
extern ContentKind content_kind_from_string (std::string kind);
extern bool empty_or_white_space (std::string s);