diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-10-20 11:42:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-10-20 11:42:14 +0100 |
| commit | 00b60f52add041a36fa62118baf4b5ac78993980 (patch) | |
| tree | a1427c61dc4ed0a17bb9f120985481f1772b9d50 /src/lib | |
| parent | bd3be0efd59054666fd04d69715275f257994f5e (diff) | |
Give a better error if the user tries to load a non-KDM as a DKDM into the KDM creator.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/util.cc | 6 | ||||
| -rw-r--r-- | src/lib/util.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 00f36f217..38451e931 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -675,9 +675,3 @@ relaxed_string_to_float (string s) return lexical_cast<float> (s); } } - -bool -string_not_empty (string s) -{ - return !s.empty (); -} diff --git a/src/lib/util.h b/src/lib/util.h index f9b4d0e05..5e1780d72 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -79,6 +79,5 @@ 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, int reel_index, int reel_count, boost::optional<std::string> content_summary); extern std::string audio_asset_filename (boost::shared_ptr<dcp::SoundAsset> asset, int reel_index, int reel_count, boost::optional<std::string> content_summary); extern float relaxed_string_to_float (std::string); -extern bool string_not_empty (std::string); #endif |
