diff options
author | Tom Tromey <tom@tromey.com> | 2020-03-08 11:05:43 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-03-08 11:05:43 -0600 |
commit | e63ee24f98f0648d1a88f9a74bd60a7278aeda2c (patch) | |
tree | 029d1b19e29870762598aaf63abe49c56139fbd9 /gdbsupport/gdb_binary_search.h | |
parent | 72fbdf834da070f900ecc078217f9011ee16d99e (diff) | |
download | gdb-e63ee24f98f0648d1a88f9a74bd60a7278aeda2c.zip gdb-e63ee24f98f0648d1a88f9a74bd60a7278aeda2c.tar.gz gdb-e63ee24f98f0648d1a88f9a74bd60a7278aeda2c.tar.bz2 |
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 <tom@tromey.com>
* gdb_binary_search.h: Fix two typos.
Diffstat (limited to 'gdbsupport/gdb_binary_search.h')
-rw-r--r-- | gdbsupport/gdb_binary_search.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbsupport/gdb_binary_search.h b/gdbsupport/gdb_binary_search.h index a456015..ddda415 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); |