Skip to content

Commit b279c00

Browse files
Dan Melnicmeta-codesync[bot]
authored andcommitted
Narrow mcrouter library namespace imports
Summary: Replace broad namespace directives in two mcrouter library headers with the single types each header needs: `TType` in Carbon field metadata and `RPCTracer` in the Artillery handler API. Reviewed By: stuclar Differential Revision: D115077253 fbshipit-source-id: 421504cc5e7665317123986d24486be4078d0174
1 parent 7ab98de commit b279c00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mcrouter/lib/carbon/Fields.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ struct IsKVContainer {
129129
static constexpr bool value = IsOfTraitFieldType<T, FieldType::Map>::value;
130130
};
131131

132-
using namespace apache::thrift::protocol;
132+
using apache::thrift::protocol::TType;
133133

134134
constexpr TType CarbonToThriftFields[14] = {
135135
TType::T_STOP,

0 commit comments

Comments
 (0)