diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-14 13:28:44 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-14 13:28:44 -0700 |
| commit | 6a45620ce21a72708a151592c1efe4a2b2d53214 (patch) | |
| tree | 8173ab5f86129851d84e30453ce1055c9c424e7e | |
| parent | 6d6467984d77cb303fdb2d9229a1f6cf2bdd6750 (diff) | |
| download | vcpkg-6a45620ce21a72708a151592c1efe4a2b2d53214.tar.gz vcpkg-6a45620ce21a72708a151592c1efe4a2b2d53214.zip | |
Fix overload of Checks::exit_with_message
| -rw-r--r-- | toolsrc/include/vcpkg_Checks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg_Checks.h b/toolsrc/include/vcpkg_Checks.h index 05bd0e729..9d9b21ed6 100644 --- a/toolsrc/include/vcpkg_Checks.h +++ b/toolsrc/include/vcpkg_Checks.h @@ -20,7 +20,7 @@ namespace vcpkg {namespace Checks template <class...Args> _declspec(noreturn) void throw_with_message(const char* errorMessageTemplate, const Args&... errorMessageArgs) { - throw_with_message(Strings::format(errorMessageTemplate, errorMessageArgs...)); + throw_with_message(Strings::format(errorMessageTemplate, errorMessageArgs...).c_str()); } void check_throw(bool expression, const char* errorMessage); |
