diff options
Diffstat (limited to 'deps/v8/src/base/file-utils.h')
-rw-r--r-- | deps/v8/src/base/file-utils.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/v8/src/base/file-utils.h b/deps/v8/src/base/file-utils.h index afd9a1fc25..84b57fb40b 100644 --- a/deps/v8/src/base/file-utils.h +++ b/deps/v8/src/base/file-utils.h @@ -5,6 +5,8 @@ #ifndef V8_BASE_FILE_UTILS_H_ #define V8_BASE_FILE_UTILS_H_ +#include <memory> + #include "src/base/base-export.h" namespace v8 { @@ -12,8 +14,8 @@ namespace base { // Helper functions to manipulate file paths. -V8_BASE_EXPORT char* RelativePath(char** buffer, const char* exec_path, - const char* name); +V8_BASE_EXPORT +std::unique_ptr<char[]> RelativePath(const char* exec_path, const char* name); } // namespace base } // namespace v8 |