change from string to char*

This commit is contained in:
Jordan Maples [MSFT]
2019-12-12 16:48:59 -08:00
parent 0931262acf
commit 6c5c708877
10 changed files with 18 additions and 21 deletions
+2 -2
View File
@@ -45,7 +45,7 @@
using namespace gsl;
namespace{
static const std::string deathstring("Expected Death");
static const char *deathstring("Expected Death");
void f(int& i) { i += 1; }
static int j = 0;
void g() { j += 1; }
@@ -119,7 +119,7 @@ TEST(utils_tests, narrow_cast)
}
TEST(utils_tests, narrow)
{
{
std::set_terminate([] {
std::cerr << "Expected Death. narrow";
std::abort();