Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/string_search.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_search.h b/src/string_search.h
index 3648bc015ab..cd9ef320a81 100644
--- a/src/string_search.h
+++ b/src/string_search.h
@@ -32,7 +32,7 @@ class Vector {
// Returns true if the Vector is front-to-back, false if back-to-front.
// In the latter case, v[0] corresponds to the *end* of the memory range.
- size_t forward() const { return is_forward_; }
+ bool forward() const { return is_forward_; }
// Access individual vector elements - checks bounds in debug mode.
T& operator[](size_t index) const {