From e63ee24f98f0648d1a88f9a74bd60a7278aeda2c Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 8 Mar 2020 11:05:43 -0600 Subject: [PATCH] Fix two typos in gdb_binary_search.h I noticed a couple of typos in gdb_binary_search.h. This fixes them. gdbsupport/ChangeLog 2020-03-08 Tom Tromey * gdb_binary_search.h: Fix two typos. --- gdbsupport/ChangeLog | 4 ++++ gdbsupport/gdb_binary_search.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdbsupport/ChangeLog b/gdbsupport/ChangeLog index 04944a17b4f..0fbb71d9e56 100644 --- a/gdbsupport/ChangeLog +++ b/gdbsupport/ChangeLog @@ -1,3 +1,7 @@ +2020-03-08 Tom Tromey + + * gdb_binary_search.h: Fix two typos. + 2020-03-06 Andrew Burgess * .dir-locals.el: New file. diff --git a/gdbsupport/gdb_binary_search.h b/gdbsupport/gdb_binary_search.h index a4560151e06..ddda415462e 100644 --- a/gdbsupport/gdb_binary_search.h +++ b/gdbsupport/gdb_binary_search.h @@ -26,9 +26,9 @@ namespace gdb { /* Implements a binary search using C++ iterators. - This differs from std::binary_search in that it returns an interator for + This differs from std::binary_search in that it returns an iterator for the found element and in that the type of EL can be different from the - type of the elements in the countainer. + type of the elements in the container. COMP is a C-style comparison function with signature: int comp(const value_type& a, const T& b); -- 2.30.2