diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-07-12 12:10:19 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2016-07-12 12:10:19 -0700 |
commit | 37af68a2d3b3b94adfee731750fc939cc0f3f154 (patch) | |
tree | 6eec5540d894d7477986d7c03e4fbf75ed095d57 | |
parent | 643a319eb73735b1d39a6875bd301df0f8fbe43f (diff) | |
download | webservd-37af68a2d3b3b94adfee731750fc939cc0f3f154.tar.gz |
Fix google-explicit-constructor warnings in webservd.android-wear-n-preview-2android-wear-7.1.1_r1android-n-preview-5android-n-iot-preview-2nougat-mr1-wear-releasen-iot-preview-2
* Declare explicit conversion constructors.
Bug: 28341362
Change-Id: I021116a30fc7bc95c5445b1dec0e77a5ca48bc87
Test: build with clang-tidy
-rw-r--r-- | libwebserv/binder_response.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libwebserv/binder_response.h b/libwebserv/binder_response.h index 2d6c738..675290d 100644 --- a/libwebserv/binder_response.h +++ b/libwebserv/binder_response.h @@ -28,7 +28,7 @@ namespace libwebserv { class BinderResponse : public Response { public: - BinderResponse(const android::sp<android::webservd::IHttpRequest>& request); + explicit BinderResponse(const android::sp<android::webservd::IHttpRequest>& request); // Overrides void AddHeaders( |