summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-10-20 11:42:14 +0100
committerCarl Hetherington <cth@carlh.net>2016-10-20 11:42:14 +0100
commit00b60f52add041a36fa62118baf4b5ac78993980 (patch)
treea1427c61dc4ed0a17bb9f120985481f1772b9d50 /src/lib
parentbd3be0efd59054666fd04d69715275f257994f5e (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.cc6
-rw-r--r--src/lib/util.h1
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