Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaa595b9

Browse files
committed
Merge branch 'feature/supervised-aql-value' of github.com:arangodb/arangodb into feature/supervised-aql-item-block
2 parentsa0f2740 +f735927 commitaa595b9

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

‎arangod/Aql/AqlValue.h‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
#pragma once
2626

2727
#include"Aql/AqlValueFwd.h"
28-
#include"Aql/RegisterId.h"
29-
#include"Aql/RegIdFlatSet.h"
3028
#include"Basics/Endian.h"
3129
#include"Basics/ResourceUsage.h"
3230
#include"IResearch/Misc.h"
@@ -582,9 +580,6 @@ static_assert(std::is_trivially_destructible_v<AqlValue>);
582580
static_assert(std::is_standard_layout_v<AqlValue>);
583581
static_assert(sizeof(AqlValue) ==16);
584582

585-
booloperator==(AqlValueconst& a, AqlValueconst& b)noexcept;
586-
booloperator!=(AqlValueconst& a, AqlValueconst& b)noexcept;
587-
588583
classAqlValueGuard {
589584
public:
590585
AqlValueGuard() =delete;

‎tests/Aql/AqlValueSupervisedTest.cpp‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,13 @@ inline DocumentData makeDocDataFromSlice(Slice s) {
4242
inlinevoidexpectEqualBothWays(AqlValueconst& a, AqlValueconst& b) {
4343
std::equal_to<AqlValue> eq;
4444
EXPECT_TRUE(eq(a, b));
45-
EXPECT_TRUE(a == b);
46-
EXPECT_FALSE(a != b);
45+
EXPECT_TRUE(eq(b, a));// Verify symmetry
4746
}
4847

4948
inlinevoidexpectNotEqualBothWays(AqlValueconst& a, AqlValueconst& b) {
5049
std::equal_to<AqlValue> eq;
5150
EXPECT_FALSE(eq(a, b));
52-
EXPECT_FALSE(a == b);
53-
EXPECT_TRUE(a != b);
51+
EXPECT_FALSE(eq(b, a));// Verify symmetry
5452
}
5553
}// namespace
5654

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp