Identical enums that are defined in multiple files can be removed and reused instead. An example is the ExportResult enum used in the exporter.h file in the trace SDK and the logs SDK folders. Both implement the enum values kSuccess and kFailure. This enum could be shared instead of redefined in both places.
Identical enums that are defined in multiple files can be removed and reused instead. An example is the
ExportResultenum used in theexporter.hfile in the trace SDK and the logs SDK folders. Both implement the enum valueskSuccessandkFailure. This enum could be shared instead of redefined in both places.