Style fixes.
continuous-integration/drone/push Build is passing

This commit is contained in:
Deukhoofd committed 2020-05-31 16:40:33 +02:00
1 parent b7f1812153
commit bfe1fcc805
3 files changed
+5 -5

No files matched your search

+1 -2
View File
@@ -1,5 +1,4 @@
#include "ConstString.hpp"
ArbUt::__ConstStringCharHolder* ArbUt::CaseInsensitiveConstString::__emptyString =
new __ConstStringCharHolder("", 0);
ArbUt::__ConstStringCharHolder* ArbUt::CaseInsensitiveConstString::__emptyString = new __ConstStringCharHolder("", 0);
ArbUt::__ConstStringCharHolder* ArbUt::ConstString::__emptyString = new __ConstStringCharHolder("", 0);
-1
View File
@@ -66,7 +66,6 @@ namespace ArbUt {
const std::vector<ValueT*>& GetStdList() const { return _vector; }
std::vector<ValueT*>& GetStdList() { return _vector; }
};
}
+4 -2
View File
@@ -33,8 +33,10 @@ TEST_CASE("Create Unique Ptr list, append, iterate"){
REQUIRE(ls.Count() == 2);
auto i = 0;
for (const auto& v : ls) {
if (i == 0) CHECK(v == v1);
else if (i == 1) CHECK(v == v2);
if (i == 0)
CHECK(v == v1);
else if (i == 1)
CHECK(v == v2);
i++;
}
}