diff options
author | Ian Lance Taylor <iant@google.com> | 2007-12-14 18:50:01 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-12-14 18:50:01 +0000 |
commit | 7004837e8d2e02ee35c50d236681e9c30a283619 (patch) | |
tree | 17f2714bba7ff422479f52000957e3acceb82787 /gold/fileread.h | |
parent | c71c6f566c01351ad781155c81311a1ffaece06b (diff) | |
download | fsf-binutils-gdb-7004837e8d2e02ee35c50d236681e9c30a283619.zip fsf-binutils-gdb-7004837e8d2e02ee35c50d236681e9c30a283619.tar.gz fsf-binutils-gdb-7004837e8d2e02ee35c50d236681e9c30a283619.tar.bz2 |
Add const to Object::read and Object::sized_target.
Diffstat (limited to 'gold/fileread.h')
-rw-r--r-- | gold/fileread.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gold/fileread.h b/gold/fileread.h index 0e5bdbe..eddb887 100644 --- a/gold/fileread.h +++ b/gold/fileread.h @@ -78,7 +78,7 @@ class File_read // Test whether the object is locked. bool - is_locked(); + is_locked() const; // Return the size of the file. off_t @@ -323,6 +323,10 @@ class Input_file file() { return this->file_; } + const File_read& + file() const + { return this->file_; } + // Whether we found the file in a directory in the system root. bool is_in_sysroot() const |