From a06c964cabb3fa0b5271c03023fb5212dea5a31c Mon Sep 17 00:00:00 2001 From: Darin Adler Date: Tue, 7 Aug 2001 17:22:02 +0000 Subject: [PATCH] Spell things consistently. Add some bits of Mac stuff to the tests. Use std::size_t where needed. [SVN r10800] --- changes.txt | 2 +- example/timer/regex_timer.cpp | 2 +- include/boost/regex.hpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/changes.txt b/changes.txt index 030ca55a..b03f2c27 100644 --- a/changes.txt +++ b/changes.txt @@ -196,7 +196,7 @@ ADDED: High level C++ class RegEx. Version 111: BUG: Wouldn't compile directly on C++ Builder 4 when it was released - (not really a bug - more an incompatability) + (not really a bug - more an incompatibility) FIXED: All bugs discovered prior to this version (below). diff --git a/example/timer/regex_timer.cpp b/example/timer/regex_timer.cpp index 929e6677..feae725f 100644 --- a/example/timer/regex_timer.cpp +++ b/example/timer/regex_timer.cpp @@ -100,7 +100,7 @@ int main() std::deque ds; boost::regex_t r; boost::scoped_array matches; - size_t nsubs; + std::size_t nsubs; boost::timer t; double tim; bool result; diff --git a/include/boost/regex.hpp b/include/boost/regex.hpp index b163f5a8..bb3e1805 100644 --- a/include/boost/regex.hpp +++ b/include/boost/regex.hpp @@ -23,7 +23,7 @@ */ -/* start with C compatability API */ +/* start with C compatibility API */ #ifndef BOOST_RE_REGEX_HPP #define BOOST_RE_REGEX_HPP @@ -637,7 +637,7 @@ public: bool BOOST_RE_CALL operator<(const reg_expression&)const; // // The following are deprecated as public interfaces - // but are available for compatability with earlier versions. + // but are available for compatibility with earlier versions. allocator_type BOOST_RE_CALL allocator()const; const charT* BOOST_RE_CALL expression()const { return (this->error_code() ? 0 : _expression); } unsigned int BOOST_RE_CALL set_expression(const charT* p, const charT* end, flag_type f = regbase::normal);