src/XattrAttributeFinder.h
branchv_0
changeset 8 eb1ecb37c6b7
parent 5 ec661baf433a
child 9 b4f29fb16159
--- a/src/XattrAttributeFinder.h	Wed Jan 16 18:16:07 2019 +0100
+++ b/src/XattrAttributeFinder.h	Wed Jan 16 18:19:50 2019 +0100
@@ -37,8 +37,6 @@
 private:
 	std::wstring_convert<codecvt_utf8<wchar_t>> convertor; // TODO: support also other encodings.
 
-	fs::path currentFile;
-
 	string_t getXattr(const fs::path& file, const string_t& attributeName) {
 		// TODO: review, test on multiple platforms
 		// TODO: improve documentation in xattr.h in glibc
@@ -65,13 +63,6 @@
 		}
 	}
 
-	void startFile(const fs::path& file) override {
-		currentFile = file;
-	};
-
-	void endFile() override {
-	};
-
 	virtual void writeField(RelationalWriter* writer, const RequestedField& field) override {
 		for (string_t alias : field.getAliases()) {
 			if (field.group == RequestedField::GROUP_XATTR) writer->writeAttribute(getXattr(currentFile, field.name));