Remove unused method.
authorCarl Hetherington <cth@carlh.net>
Tue, 21 Aug 2018 11:29:23 +0000 (12:29 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 21 Aug 2018 11:29:23 +0000 (12:29 +0100)
src/lib/content.cc
src/lib/content.h

index 04bdc8126cc4ddf898284d2ab8f1353d3ddd85b0..ee394d8e5fd26093f6057f1444c1ebc54b36ad92 100644 (file)
@@ -308,14 +308,6 @@ Content::paths_valid () const
        return true;
 }
 
-void
-Content::set_path (boost::filesystem::path path)
-{
-       ChangeSignaller<Content> cc (this, ContentProperty::PATH);
-       _paths.clear ();
-       _paths.push_back (path);
-}
-
 void
 Content::set_paths (vector<boost::filesystem::path> paths)
 {
index d519dc52b49e964f7334fea59f0417d62696d6c4..f09097ccfff3ba99b1ff26c9cff45d3351277626 100644 (file)
@@ -99,7 +99,6 @@ public:
 
        boost::shared_ptr<Content> clone () const;
 
-       void set_path (boost::filesystem::path);
        void set_paths (std::vector<boost::filesystem::path> paths);
 
        std::string path_summary () const;