From 18e21f8b090a49934a80d56b1796e0c1d469a22c Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Fri, 3 Feb 2017 20:34:51 -0800 Subject: remove C++14 feature from tools --- tools/scaninc/c_file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/scaninc/c_file.cpp') diff --git a/tools/scaninc/c_file.cpp b/tools/scaninc/c_file.cpp index 970fbe135..bb84fedbe 100644 --- a/tools/scaninc/c_file.cpp +++ b/tools/scaninc/c_file.cpp @@ -222,7 +222,7 @@ std::unique_ptr CFile::ReadWholeFile(const std::string& path, i size = ftell(fp); - std::unique_ptr buffer = std::make_unique(size); + std::unique_ptr buffer = std::unique_ptr(new unsigned char[size]); rewind(fp); -- cgit v1.2.3