mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 20:59:45 +01:00
porting 1.4.4 rev. 1989 (except for File_WIN32(U)/FileImpl::isDeviceImpl() where GENERIC_ACCESS was left due to breaking testFileAtributes3() test case)
This commit is contained in:
@@ -1406,7 +1406,11 @@ void VarTest::testConversionOperator()
|
||||
assert (any == i);
|
||||
|
||||
any = 123;
|
||||
#if defined(_MSC_VER) // gcc bombs on s(any)
|
||||
std::string s(any);
|
||||
#else
|
||||
std::string s = any;
|
||||
#endif
|
||||
assert (s == "123");
|
||||
assert (s == any);
|
||||
assert (any == s);
|
||||
|
||||
Reference in New Issue
Block a user