JosiahWI commented on code in PR #11825:
URL: https://github.com/apache/trafficserver/pull/11825#discussion_r1809203511
##########
src/iocore/cache/StripeSM.cc:
##########
@@ -109,13 +109,9 @@ struct StripeInitInfo {
}
};
-StripeSM::StripeSM(CacheDisk *disk, off_t blocks, off_t dir_skip) :
Continuation(new_ProxyMutex()), Stripe{disk, blocks, dir_skip}
+StripeSM::StripeSM(CacheDisk *disk, off_t blocks, off_t dir_skip)
+ : Continuation(new_ProxyMutex()), Stripe{disk, blocks, dir_skip},
_preserved_dirs{static_cast<int>(len)}
Review Comment:
What's the right way to do this in C++? This makes me nervous because it
depends on initialization order.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]