[profiler_capture_api] removed now unnecessary ProfilerRequests EBus alias after AZ::Interface conversion

Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com>
This commit is contained in:
AMZN-ScottR
2021-10-28 14:18:04 -07:00
parent eb713fb3a8
commit 90509c7fa2
3 changed files with 2 additions and 19 deletions
@@ -60,20 +60,7 @@ namespace AZ
virtual bool EndCapture() = 0;
};
class ProfilerRequestsTraits
: public AZ::EBusTraits
{
public:
// EBusTraits overrides
static constexpr AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single;
static constexpr AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single;
// Allow multiple threads to concurrently make requests
using MutexType = AZStd::mutex;
};
using ProfilerSystemInterface = AZ::Interface<ProfilerRequests>;
using ProfilerRequestBus = AZ::EBus<ProfilerRequests, ProfilerRequestsTraits>;
//! helper function for getting the profiler capture location from the settings registry that
//! includes fallback handing in the event the registry value can't be determined