Removed accidental std:: prefix

This commit is contained in:
Matt Hill
2015-07-21 20:01:17 -04:00
parent d5bc315744
commit f4bf470fa9

View File

@@ -1,7 +1,7 @@
// Copyright 1999-2005 The RE2 Authors. All Rights Reserved. // Copyright 1999-2005 The RE2 Authors. All Rights Reserved.
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
#include <stdio.h>
#include "re2/util/util.h" #include "re2/util/util.h"
#include "re2/stringpiece.h" #include "re2/stringpiece.h"
@@ -41,7 +41,7 @@ int CEscapeString(const char* src, int src_len, char* dest,
#ifdef WIN32 #ifdef WIN32
sprintf_s(dest + used, dest_len, "\\%03o", c); sprintf_s(dest + used, dest_len, "\\%03o", c);
#else #else
std::sprintf(dest + used, "\\%03o", c); sprintf(dest + used, "\\%03o", c);
#endif #endif
used += 4; used += 4;