about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--cpp/001help2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/001help b/cpp/001help
index 18d7efa6..2c48d297 100644
--- a/cpp/001help
+++ b/cpp/001help
@@ -41,4 +41,4 @@ using std::cerr;
 #include<cstring>
 #include<string>
 using std::string;
-#define NOT_FOUND string::npos  // macro doesn't complain about redef
+const size_t NOT_FOUND = string::npos;