Fixed typo in binary_resource.cpp

This commit is contained in:
BttrDrgn 2021-09-04 14:25:23 -05:00 committed by GitHub
parent a4d9da9890
commit 7536f861e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ namespace utils
return path;
}
std::string write_exitisting_temp_file(const std::string& file, const std::string& data,
std::string write_existing_temp_file(const std::string& file, const std::string& data,
const bool fatal_if_overwrite_fails)
{
const auto temp = get_temp_folder();
@ -62,7 +62,7 @@ namespace utils
{
if (this->path_.empty())
{
this->path_ = write_exitisting_temp_file(this->filename_, this->resource_, fatal_if_overwrite_fails);
this->path_ = write_existing_temp_file(this->filename_, this->resource_, fatal_if_overwrite_fails);
}
return this->path_;