summaryrefslogtreecommitdiff
path: root/src/lib/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-16 04:00:16 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-16 04:00:16 +0100
commit04d7ca2e5470924d79ddcff0496ebef9b5cec8b7 (patch)
tree2202380eb85cd1576a9aae71a5e982fa3af01afe /src/lib/util.h
parentae844ac43c70baee0768d4b6bf9725359079fb62 (diff)
Fix int/float confusion.
Diffstat (limited to 'src/lib/util.h')
-rw-r--r--src/lib/util.h3
1 files changed, 2 insertions, 1 deletions
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<std::string, std::string> read_key_value (std::istream& s);
extern int get_required_int (std::multimap<std::string, std::string> const & kv, std::string k);
+extern float get_required_float (std::multimap<std::string, std::string> const & kv, std::string k);
extern std::string get_required_string (std::multimap<std::string, std::string> const & kv, std::string k);
extern int get_optional_int (std::multimap<std::string, std::string> const & kv, std::string k);
extern std::string get_optional_string (std::multimap<std::string, std::string> const & kv, std::string k);
@@ -169,7 +170,7 @@ extern std::string get_optional_string (std::multimap<std::string, std::string>
* 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