We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 877b982 commit 3776520Copy full SHA for 3776520
contrib/kafka/filters/network/source/broker/rewriter.cc
@@ -25,7 +25,7 @@ template <typename T> static T& extractResponseData(AbstractResponseSharedPtr& a
25
using TSharedPtr = std::shared_ptr<Response<T>>;
26
TSharedPtr cast = std::dynamic_pointer_cast<typename TSharedPtr::element_type>(arg);
27
if (nullptr == cast) {
28
- throw new EnvoyException("bug: response class not matching response API key");
+ throw EnvoyException("bug: response class not matching response API key");
29
} else {
30
return cast->data_;
31
}
0 commit comments