diff Core/HttpServer/StringMatcher.cpp @ 3406:8de071691d13

fix for visual studio 2008
author s.jodogne@gmail.com
date Sat, 08 Jun 2019 10:30:00 +0200
parents 630fc934597f
children 94f4a18a79cc
line wrap: on
line diff
--- a/Core/HttpServer/StringMatcher.cpp	Sat Jun 08 09:11:33 2019 +0200
+++ b/Core/HttpServer/StringMatcher.cpp	Sat Jun 08 10:30:00 2019 +0200
@@ -137,6 +137,6 @@
 
   const char* StringMatcher::GetPointerEnd() const
   {
-    return &GetMatchEnd()[0];
+    return GetPointerBegin() + pattern_.size();
   }
 }