mirror of
https://github.com/minetest/irrlicht.git
synced 2025-06-28 14:26:06 +02:00
Replace core::string implementation with std::basic_string
This commit is contained in:
@ -37,8 +37,10 @@ void run_unit_tests() {
|
||||
test_irr_array();
|
||||
test_irr_string();
|
||||
} catch (const std::exception &e) {
|
||||
std::cerr << e.what() << std::endl;
|
||||
test_fail++;
|
||||
}
|
||||
std::cout << std::endl;
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
@ -36,11 +36,6 @@ static void test_basics()
|
||||
// operator=
|
||||
s = stringw(L"abcdef");
|
||||
UASSERTSTR(s, "abcdef");
|
||||
s = stringc("test");
|
||||
s = s.c_str();
|
||||
UASSERTSTR(s, "test");
|
||||
s = s.c_str() + 1;
|
||||
UASSERTSTR(s, "est");
|
||||
s = L"abcdef";
|
||||
UASSERTSTR(s, "abcdef");
|
||||
s = static_cast<const char*>(nullptr);
|
||||
|
Reference in New Issue
Block a user