From 04d7ca2e5470924d79ddcff0496ebef9b5cec8b7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 16 Oct 2012 04:00:16 +0100 Subject: Fix int/float confusion. --- src/lib/util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/util.h') diff --git a/src/lib/util.h b/src/lib/util.h index 5f2e9a7fa..da7e73f20 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -160,6 +160,7 @@ extern std::string colour_lut_index_to_name (int index); extern int round_up (int, int); extern std::multimap read_key_value (std::istream& s); extern int get_required_int (std::multimap const & kv, std::string k); +extern float get_required_float (std::multimap const & kv, std::string k); extern std::string get_required_string (std::multimap const & kv, std::string k); extern int get_optional_int (std::multimap const & kv, std::string k); extern std::string get_optional_string (std::multimap const & kv, std::string k); @@ -169,7 +170,7 @@ extern std::string get_optional_string (std::multimap * that are useful for DVD-o-matic. * * This class wraps some things that I could not work out how to do with boost; - * most notably, sync read/write calls with timeouts, and the ability to peak into + * most notably, sync read/write calls with timeouts, and the ability to peek into * data being read. */ class Socket -- cgit v1.2.3