forked from boostorg/beast
Boost test matrix fixes
This commit is contained in:
1 parent
1366302a29
commit
cf8182794a
6 files changed
+31
-18
No files matched your search
@@ -53,11 +53,11 @@ public:
|
||||
void
|
||||
check(string_view match, Args&&... args)
|
||||
{
|
||||
T t{std::forward<Args>(args)...};
|
||||
T t(std::forward<Args>(args)...);
|
||||
BEAST_EXPECT(to_string(t) == match);
|
||||
T t2{t};
|
||||
T t2(t);
|
||||
BEAST_EXPECT(to_string(t2) == match);
|
||||
T t3{std::move(t2)};
|
||||
T t3(std::move(t2));
|
||||
BEAST_EXPECT(to_string(t3) == match);
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,11 @@ public:
|
||||
{
|
||||
bool moved = false;
|
||||
|
||||
Arg1() = default;
|
||||
Arg1(Arg1 const&) = default;
|
||||
|
||||
Arg1()
|
||||
{
|
||||
}
|
||||
|
||||
Arg1(Arg1&& other)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user