summaryrefslogtreecommitdiff
path: root/src/File.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/File.h')
-rw-r--r--src/File.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/File.h b/src/File.h
index 9fa1264c..1e659022 100644
--- a/src/File.h
+++ b/src/File.h
@@ -55,6 +55,7 @@ private:
* Returns the return value of stat(...)
*/
int fillStat(a2_struct_stat& fstat);
+
public:
File(const std::string& name);
@@ -102,10 +103,7 @@ public:
std::string getDirname() const;
- const std::string& getPath() const
- {
- return name_;
- }
+ const std::string& getPath() const { return name_; }
static bool isDir(const std::string& filename);