Index: lib/DispatcherBase_cpp.template |
diff --git a/lib/DispatcherBase_cpp.template b/lib/DispatcherBase_cpp.template |
index e9730eb7b59b3030e536920c1d1a37706f3fe3cc..287f3064206e3e7e7e5092b70305513dca4e2e88 100644 |
--- a/lib/DispatcherBase_cpp.template |
+++ b/lib/DispatcherBase_cpp.template |
@@ -290,7 +290,7 @@ DispatchResponse::Status UberDispatcher::dispatch(std::unique_ptr<Value> parsedM |
if (redirectIt != m_redirects.end()) |
method = redirectIt->second; |
- size_t dotIndex = method.find("."); |
+ size_t dotIndex = StringUtil::find(method, "."); |
if (dotIndex == StringUtil::kNotFound) { |
if (m_fallThroughForNotFound) |
return DispatchResponse::kFallThrough; |