2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 00:32:11 +00:00

Use std::free instead of C free.

Fixes #671.
This commit is contained in:
Rene Rivera
2020-12-27 09:49:16 -06:00
parent f7cadeffcf
commit 30d2bd61ff

View File

@@ -14,7 +14,7 @@ Distributed under the Boost Software License, Version 1.0.
#include "output.h"
#include "variable.h"
#include <stdlib.h>
#include <cstdlib>
#include <string>
#include <algorithm>
@@ -160,7 +160,7 @@ bool b2::startup::bootstrap(FRAME *frame)
const std::string b2_exe_path{b2_exe_path_pchar};
if (b2_exe_path_pchar)
{
free(b2_exe_path_pchar);
std::free(b2_exe_path_pchar);
}
const std::string boost_build_jam{"boost-build.jam"};
std::string b2_file_path;