summaryrefslogtreecommitdiff
path: root/src/lib/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-03-13 01:37:44 +0000
committerCarl Hetherington <cth@carlh.net>2016-03-13 01:37:44 +0000
commit1a1d4b22589d5832dd594a65054d9261f9f496cf (patch)
tree32e1ec37ad23fc68d13ab84654e3f98e54f92ebc /src/lib/util.h
parentea35bff04d7a96f44ea595951bb0c0dd54c8ee52 (diff)
Accept either , or . for a decimal separator in the gain calculator.
Diffstat (limited to 'src/lib/util.h')
-rw-r--r--src/lib/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h
index 5cfdae5f9..640933f00 100644
--- a/src/lib/util.h
+++ b/src/lib/util.h
@@ -74,5 +74,6 @@ extern void set_backtrace_file (boost::filesystem::path);
extern std::map<std::string, std::string> split_get_request (std::string url);
extern std::string video_asset_filename (boost::shared_ptr<dcp::PictureAsset> asset);
extern std::string audio_asset_filename (boost::shared_ptr<dcp::SoundAsset> asset);
+extern float relaxed_string_to_float (std::string);
#endif