aboutsummaryrefslogtreecommitdiff
path: root/gold/fileread.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/fileread.h')
-rw-r--r--gold/fileread.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/gold/fileread.h b/gold/fileread.h
index 2181485..b65a86b 100644
--- a/gold/fileread.h
+++ b/gold/fileread.h
@@ -173,22 +173,6 @@ class File_view
const unsigned char* data_;
};
-// An object which locks a file using RAII.
-
-class File_read_lock
-{
- public:
- File_read_lock(File_read& file)
- : file_(file)
- { this->file_.lock(); }
-
- ~File_read_lock()
- { this->file_.unlock(); }
-
- private:
- File_read& file_;
-};
-
// All the information we hold for a single input file. This can be
// an object file, a shared library, or an archive.