Marking a bunch of AsyncSSLSocket methods as "const".
authorMaxim Georgiev <maxgeorg@fb.com>
Fri, 11 Sep 2015 16:38:28 +0000 (09:38 -0700)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Fri, 11 Sep 2015 17:20:17 +0000 (10:20 -0700)
commit09e6623e7cbf0a86c981a5313f6f9794b4b8a41e
treec39add43e49483255dfbcc215bb285c5464e6382
parentd296443d0b2b40d97b1c4792abc1d74c9f702bdd
Marking a bunch of AsyncSSLSocket methods as "const".

Summary: folly::AsyncSSLSocket class has a number of "get..." methods which don't change the object's state, but are not marked as "const". As a result these methods can't be called on objects passed through const pointer or referrence. Adding "const" modificator for these methods.

Reviewed By: @yfeldblum

Differential Revision: D2430134
folly/io/async/AsyncSSLSocket.h