aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenhttp')
-rw-r--r--src/zenhttp/include/zenhttp/httpclient.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenhttp/include/zenhttp/httpclient.h b/src/zenhttp/include/zenhttp/httpclient.h
index 8ec29d548..edf3bf773 100644
--- a/src/zenhttp/include/zenhttp/httpclient.h
+++ b/src/zenhttp/include/zenhttp/httpclient.h
@@ -35,8 +35,8 @@ public:
// validate that the content type or content itself makes sense as a string.
std::string_view AsText();
- bool IsSuccess() const noexcept;
- inline operator bool() const noexcept { return IsSuccess(); }
+ bool IsSuccess() const noexcept;
+ inline explicit operator bool() const noexcept { return IsSuccess(); }
};
[[nodiscard]] Response Put(std::string_view Url, const IoBuffer& Payload);