From 686f822dea4d4829fe112f408e320dbd71abc473 Mon Sep 17 00:00:00 2001 From: Darin Adler Date: Thu, 11 Oct 2001 17:26:04 +0000 Subject: [PATCH] Fix spelling error: "occurances" -> "occurrences". [SVN r11376] --- tie_example.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tie_example.cpp b/tie_example.cpp index 70b4b38..1fb12b6 100644 --- a/tie_example.cpp +++ b/tie_example.cpp @@ -14,7 +14,7 @@ // // 3 successfully inserted. // 9 was already in the set. -// There were 2 occurances of 4. +// There were 2 occurrences of 4. #include #include @@ -55,7 +55,7 @@ main(int, char*[]) boost::tie(i,end) = std::equal_range(vals, vals + 6, 4); std::cout << "There were " << std::distance(i,end) - << " occurances of " << *i << "." << std::endl; + << " occurrences of " << *i << "." << std::endl; // Footnote: of course one would normally just use std::count() // to get this information, but that would spoil the example :) }