Skip to content

Commit

Permalink
fixes for Al2 build
Browse files Browse the repository at this point in the history
  • Loading branch information
sbera87 committed Nov 25, 2024
1 parent 0f2fc7a commit fbb4a25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ namespace Aws
};

class AWS_CORE_API JsonErrorMarshallerQueryCompatible : public JsonErrorMarshaller {
using AWSErrorMarshaller::Marshall;

public:
/**
* Converts an exceptionName and message into an Error object, if it
Expand Down
4 changes: 2 additions & 2 deletions src/aws-cpp-sdk-core/source/client/AWSErrorMarshaller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ AWSError<CoreErrors> JsonErrorMarshallerQueryCompatible::Marshall(const Aws::Htt
: "");

if (httpResponse.HasHeader(ERROR_TYPE_HEADER)) {
error = Marshall(httpResponse.GetHeader(ERROR_TYPE_HEADER), message);
error = AWSErrorMarshaller::Marshall(httpResponse.GetHeader(ERROR_TYPE_HEADER), message);
} else if (payloadView.ValueExists(TYPE)) {
error = Marshall(payloadView.GetString(TYPE), message);
error = AWSErrorMarshaller::Marshall(payloadView.GetString(TYPE), message);
} else {
error = FindErrorByHttpResponseCode(httpResponse.GetResponseCode());
error.SetMessage(message);
Expand Down

0 comments on commit fbb4a25

Please sign in to comment.