pull/35319/head
Craig Tiller 12 months ago
parent 5a92e184d3
commit bc0d47395f
  1. 9
      src/core/lib/gprpp/debug_location.h

@ -81,15 +81,6 @@ class DebugLocation {
}; };
#endif #endif
template <typename T>
struct ValueWithDebugLocation {
// NOLINTNEXTLINE
ValueWithDebugLocation(T&& value, DebugLocation debug_location = {})
: value(std::forward<T>(value)), debug_location(debug_location) {}
T value;
GPR_NO_UNIQUE_ADDRESS DebugLocation debug_location;
};
#define DEBUG_LOCATION ::grpc_core::DebugLocation(__FILE__, __LINE__) #define DEBUG_LOCATION ::grpc_core::DebugLocation(__FILE__, __LINE__)
} // namespace grpc_core } // namespace grpc_core

Loading…
Cancel
Save