Skip to content

Remove duplicate enum declarations #420

@kxyr

Description

@kxyr

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions