summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-23 12:22:34 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-23 12:22:34 +0000
commita0c0e609f7fbff8513135428378cc16684bae937 (patch)
tree25e800debbb1ec6ab60fd0a4fc8e593c81addaea /src/lib/content.h
parent90b84151b9817b33381187f678cb2fdd062ed785 (diff)
Remove Content::path(), add Content::path_summary().
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
index 5d8100e5d..e569c1431 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -65,11 +65,8 @@ public:
boost::shared_ptr<Content> clone () const;
void set_path (boost::filesystem::path);
-
- boost::filesystem::path path () const {
- boost::mutex::scoped_lock lm (_mutex);
- return _paths.front ();
- }
+
+ std::string path_summary () const;
size_t number_of_paths () const {
boost::mutex::scoped_lock lm (_mutex);