summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-22 10:44:18 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-22 10:44:18 +0000
commit68808da4a0f8c60ac93cd0bbc3ea776d16503a6a (patch)
treea2989569200259f148689dde54e4673f22a1450a /src/lib/content.h
parent6ccb1de9141a8666f01a970e506d79b708b47d5d (diff)
Content::_path to a vector.
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
index 626e270bd..ad3e8ff45 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -67,7 +67,7 @@ public:
boost::filesystem::path path () const {
boost::mutex::scoped_lock lm (_mutex);
- return _path;
+ return _paths.front ();
}
bool path_valid () const;
@@ -127,8 +127,8 @@ protected:
mutable boost::mutex _mutex;
private:
- /** Path of a file or a directory containing files */
- boost::filesystem::path _path;
+ /** Paths of our data files */
+ std::vector<boost::filesystem::path> _paths;
std::string _digest;
Time _position;
Time _trim_start;