about summary refs log tree commit diff stats
path: root/cpp/001help.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/001help.cc')
-rw-r--r--cpp/001help.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/001help.cc b/cpp/001help.cc
index 2c48d297..8f2c65d4 100644
--- a/cpp/001help.cc
+++ b/cpp/001help.cc
@@ -41,4 +41,5 @@ using std::cerr;
 #include<cstring>
 #include<string>
 using std::string;
-const size_t NOT_FOUND = string::npos;
+typedef size_t index_t;
+const index_t NOT_FOUND = string::npos;