aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-07-12 12:10:19 -0700
committerChih-Hung Hsieh <chh@google.com>2016-07-12 12:10:19 -0700
commit37af68a2d3b3b94adfee731750fc939cc0f3f154 (patch)
tree6eec5540d894d7477986d7c03e4fbf75ed095d57
parent643a319eb73735b1d39a6875bd301df0f8fbe43f (diff)
downloadwebservd-37af68a2d3b3b94adfee731750fc939cc0f3f154.tar.gz
* Declare explicit conversion constructors. Bug: 28341362 Change-Id: I021116a30fc7bc95c5445b1dec0e77a5ca48bc87 Test: build with clang-tidy
-rw-r--r--libwebserv/binder_response.h2
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(