Fixed assignment of double to MString.

This commit is contained in:
brad Arant committed 2024-07-08 18:27:05 -07:00
1 parent 1cfdc23a57
commit 363a6aa496
5 files changed
+36

No files matched your search

Binary file not shown.
+8
View File
@@ -81,6 +81,14 @@ int main(int argc, char **argv) {
// coreutils::MString test24 = std::endl;
// std::cout << "mstring << endl: " << test24 << std::endl;
coreutils::MString test25 = 3.14159;
std::cout << "float: " << test25 << std::endl;
coreutils::MString test26;
double test27 = 4.0f;
test26 = test27;
std::cout << "float: " << test26 << std::endl;
return 0;
}
Binary file not shown.