summaryrefslogtreecommitdiffstats
path: root/document/src/tests
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-01-22 22:00:46 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-01-23 05:56:45 +0000
commit9f438cdcdae81a9fd55dc370a42af85b275a934c (patch)
tree5b3a84c02e867bf356378f11d8911216dfe4468e /document/src/tests
parentca8545560297ee05c5d22eb4888613adbeb6e7f8 (diff)
Add indirection for the unlikely stuff to keep the likely members close and tight.
Diffstat (limited to 'document/src/tests')
-rw-r--r--document/src/tests/documenttestcase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/document/src/tests/documenttestcase.cpp b/document/src/tests/documenttestcase.cpp
index a4d9c778bec..b24b1d97788 100644
--- a/document/src/tests/documenttestcase.cpp
+++ b/document/src/tests/documenttestcase.cpp
@@ -36,10 +36,10 @@ TEST(DocumentTest, testSizeOf)
EXPECT_EQ(32u, sizeof(vespalib::GrowableByteBuffer));
EXPECT_EQ(88ul, sizeof(IdString));
EXPECT_EQ(104ul, sizeof(DocumentId));
- EXPECT_EQ(240ul, sizeof(Document));
- EXPECT_EQ(104ul, sizeof(StructFieldValue));
+ EXPECT_EQ(224ul, sizeof(Document));
+ EXPECT_EQ(88ul, sizeof(StructFieldValue));
EXPECT_EQ(24ul, sizeof(StructuredFieldValue));
- EXPECT_EQ(56ul, sizeof(SerializableArray));
+ EXPECT_EQ(40ul, sizeof(SerializableArray));
}
TEST(DocumentTest, testFieldPath)