Skip to content

Commit 4f8ec9d

Browse files
committed
Removed unused forward declaration
1 parent 5cbd0be commit 4f8ec9d

File tree

5 files changed

+1
-16
lines changed

5 files changed

+1
-16
lines changed

src/aws-cpp-sdk-core/include/aws/core/auth/AWSCredentialsProvider.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
namespace Aws
2626
{
27-
class AmazonWebServiceRequest;
28-
2927
namespace Client
3028
{
3129
struct ClientConfiguration;

src/aws-cpp-sdk-core/include/aws/core/auth/signer/AWSAuthSignerBase.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
namespace Aws
1616
{
17-
class AmazonWebServiceRequest;
18-
1917
namespace Http
2018
{
2119
class HttpRequest;
@@ -84,16 +82,6 @@ namespace Aws
8482
return SignRequest(request);
8583
}
8684

87-
/**
88-
* Signs the request itself with access to the original AmazonWebServiceRequest for credential tracking.
89-
* Default implementation calls the standard SignRequest method.
90-
*/
91-
virtual bool SignRequest(Aws::Http::HttpRequest& request, Aws::AmazonWebServiceRequest& awsRequest, const char* region, const char* serviceName, bool signBody) const
92-
{
93-
AWS_UNREFERENCED_PARAM(awsRequest);
94-
return SignRequest(request, region, serviceName, signBody);
95-
}
96-
9785
/**
9886
* Signs a single event message in an event stream.
9987
* The input message buffer is copied and signed. The message's input buffer will be deallocated and a new

src/aws-cpp-sdk-core/include/aws/core/auth/signer/AWSAuthV4Signer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ namespace Aws
141141
* and https is being used then the body of the payload will not be signed.
142142
* Using m_region by default if parameter region is nullptr.
143143
*/
144+
144145
bool SignRequest(Aws::Http::HttpRequest& request, const char* region, const char* serviceName, bool signBody) const override;
145146
/**
146147
* Takes a request and signs the URI based on the HttpMethod, URI and other info from the request.

src/aws-cpp-sdk-core/source/auth/AWSCredentialsProvider.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include <aws/core/client/AWSError.h>
1919
#include <aws/core/utils/StringUtils.h>
2020
#include <aws/core/utils/xml/XmlSerializer.h>
21-
#include <aws/core/AmazonWebServiceRequest.h>
2221
#include <aws/core/client/UserAgent.h>
2322
#include <cstdlib>
2423
#include <fstream>

src/aws-cpp-sdk-core/source/client/AWSClient.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#include <aws/core/AmazonWebServiceRequest.h>
88
#include <aws/core/auth/AWSAuthSigner.h>
99
#include <aws/core/auth/AWSAuthSignerProvider.h>
10-
#include <aws/core/auth/signer/AWSAuthV4Signer.h>
1110
#include <aws/core/client/AWSUrlPresigner.h>
1211
#include <aws/core/client/AWSError.h>
1312
#include <aws/core/client/AWSErrorMarshaller.h>

0 commit comments

Comments
 (0)