]> git.cworth.org Git - apitrace/blobdiff - trace_file.hpp
Eliminate Trace::File::filename().
[apitrace] / trace_file.hpp
index 60a8459d93c9436283deceae508b7708071ace0b..8277b48d4df9c11e39a4b197e5764c396febf484 100644 (file)
@@ -49,8 +49,6 @@ public:
     bool isOpened() const;
     File::Mode mode() const;
 
-    std::string filename() const;
-
     bool open(const std::string &filename, File::Mode mode);
     bool write(const void *buffer, size_t length);
     bool read(void *buffer, size_t length);
@@ -67,7 +65,6 @@ protected:
     virtual void rawFlush() = 0;
 
 protected:
-    std::string m_filename;
     File::Mode m_mode;
     bool m_isOpened;
 };
@@ -82,11 +79,6 @@ inline File::Mode File::mode() const
     return m_mode;
 }
 
-inline std::string File::filename() const
-{
-    return m_filename;
-}
-
 inline bool File::open(const std::string &filename, File::Mode mode)
 {
     if (m_isOpened) {