From 07d45329ea625a8e28ce66897f03352706ca6a50 Mon Sep 17 00:00:00 2001 From: arvidn Date: Fri, 13 Jan 2017 17:37:37 -0500 Subject: [PATCH] fix stats_metric enum to end up in documentation --- include/libtorrent/session_stats.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libtorrent/session_stats.hpp b/include/libtorrent/session_stats.hpp index e3921edf4..43168f6a9 100644 --- a/include/libtorrent/session_stats.hpp +++ b/include/libtorrent/session_stats.hpp @@ -46,8 +46,8 @@ namespace libtorrent { char const* name; int value_index; - enum { type_counter, type_gauge }; - int type; + enum metric_type_t { type_counter, type_gauge }; + metric_type_t type; }; // This free function returns the list of available metrics exposed by