Style fixes.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b7f1812153
commit
bfe1fcc805
|
@ -1,5 +1,4 @@
|
||||||
#include "ConstString.hpp"
|
#include "ConstString.hpp"
|
||||||
|
|
||||||
ArbUt::__ConstStringCharHolder* ArbUt::CaseInsensitiveConstString::__emptyString =
|
ArbUt::__ConstStringCharHolder* ArbUt::CaseInsensitiveConstString::__emptyString = new __ConstStringCharHolder("", 0);
|
||||||
new __ConstStringCharHolder("", 0);
|
|
||||||
ArbUt::__ConstStringCharHolder* ArbUt::ConstString::__emptyString = new __ConstStringCharHolder("", 0);
|
ArbUt::__ConstStringCharHolder* ArbUt::ConstString::__emptyString = new __ConstStringCharHolder("", 0);
|
|
@ -66,7 +66,6 @@ namespace ArbUt {
|
||||||
|
|
||||||
const std::vector<ValueT*>& GetStdList() const { return _vector; }
|
const std::vector<ValueT*>& GetStdList() const { return _vector; }
|
||||||
std::vector<ValueT*>& GetStdList() { return _vector; }
|
std::vector<ValueT*>& GetStdList() { return _vector; }
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,8 +33,10 @@ TEST_CASE("Create Unique Ptr list, append, iterate"){
|
||||||
REQUIRE(ls.Count() == 2);
|
REQUIRE(ls.Count() == 2);
|
||||||
auto i = 0;
|
auto i = 0;
|
||||||
for (const auto& v : ls) {
|
for (const auto& v : ls) {
|
||||||
if (i == 0) CHECK(v == v1);
|
if (i == 0)
|
||||||
else if (i == 1) CHECK(v == v2);
|
CHECK(v == v1);
|
||||||
|
else if (i == 1)
|
||||||
|
CHECK(v == v2);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue