diff options
Diffstat (limited to 'gdb/unittests/scoped_mmap-selftests.c')
-rw-r--r-- | gdb/unittests/scoped_mmap-selftests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/unittests/scoped_mmap-selftests.c b/gdb/unittests/scoped_mmap-selftests.c index 7b3a6f5..09a94ed 100644 --- a/gdb/unittests/scoped_mmap-selftests.c +++ b/gdb/unittests/scoped_mmap-selftests.c @@ -114,7 +114,7 @@ test_invalid_filename () try { ::scoped_mmap m = ::mmap_file ("/this/file/should/not/exist"); - } catch (gdb_exception &e) { + } catch (const gdb_exception &e) { threw = true; } |