fix stats_metric enum to end up in documentation

This commit is contained in:
arvidn 2017-01-13 17:37:37 -05:00
parent 219846fc3d
commit 07d45329ea
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@ namespace libtorrent
{ {
char const* name; char const* name;
int value_index; int value_index;
enum { type_counter, type_gauge }; enum metric_type_t { type_counter, type_gauge };
int type; metric_type_t type;
}; };
// This free function returns the list of available metrics exposed by // This free function returns the list of available metrics exposed by