diff options
author | Ian Lance Taylor <iant@google.com> | 2006-09-21 22:13:18 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2006-09-21 22:13:18 +0000 |
commit | a2fb1b05e4af3fac54faac6c07a4717f2cb34aae (patch) | |
tree | cab19eb8c3abe76aee65d684dcceee884ed59c61 /gold/fileread.h | |
parent | 5ffff7c1d1d2db595e4c23a8c388d3a51d5bb357 (diff) | |
download | gdb-a2fb1b05e4af3fac54faac6c07a4717f2cb34aae.zip gdb-a2fb1b05e4af3fac54faac6c07a4717f2cb34aae.tar.gz gdb-a2fb1b05e4af3fac54faac6c07a4717f2cb34aae.tar.bz2 |
New drop, with first cut of section layout code.
Diffstat (limited to 'gold/fileread.h')
-rw-r--r-- | gold/fileread.h | 16 |
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. |