Skip to content

Commit b42514d

Browse files
generatedunixname1395027625275998meta-codesync[bot]
authored andcommitted
Copy-construct kcbIdentity_ in RequestCommon copy ctor init list
Reviewed By: kunalspathak Differential Revision: D110987219 fbshipit-source-id: 08c16c10eebc5b9c6b9d5196b01bf2e074f68a67
1 parent 9c74e88 commit b42514d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

mcrouter/lib/carbon/RequestCommon.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@ namespace carbon {
1717
RequestCommon::RequestCommon() = default;
1818

1919
RequestCommon::RequestCommon(const RequestCommon& other)
20-
: uniqueId_{other.uniqueId_} {
20+
: uniqueId_{other.uniqueId_}, kcbIdentity_{other.kcbIdentity_} {
2121
traceContext_ = other.traceContext_;
2222
cryptoAuthToken_ = other.cryptoAuthToken_;
2323
replyBitMask_ = other.replyBitMask_;
2424
clientIdentifier_ = other.clientIdentifier_;
2525
privacyLibAgenticContext_ = other.privacyLibAgenticContext_;
26-
kcbIdentity_ = other.kcbIdentity_;
2726
}
2827

2928
RequestCommon& RequestCommon::operator=(const RequestCommon& other) {

0 commit comments

Comments
 (0)