diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-11-13 21:36:29 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-11-13 21:49:11 -0800 |
| commit | 415789b42e5fd43ac984902cd72848f6ef6b450a (patch) | |
| tree | 6262849933cc31b67f0081897fbcad2f800812bf /toolsrc/include | |
| parent | 1ea060d6fa9925dd9146f71b8c73a04bfcc5caf4 (diff) | |
| download | vcpkg-415789b42e5fd43ac984902cd72848f6ef6b450a.tar.gz vcpkg-415789b42e5fd43ac984902cd72848f6ef6b450a.zip | |
[vcpkg-metrics] Replace SQM with MAC hash.
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/metrics.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/include/vcpkg/metrics.h b/toolsrc/include/vcpkg/metrics.h index f73c636cf..ee6f8eb51 100644 --- a/toolsrc/include/vcpkg/metrics.h +++ b/toolsrc/include/vcpkg/metrics.h @@ -11,7 +11,7 @@ namespace vcpkg::Metrics void set_send_metrics(bool should_send_metrics); void set_print_metrics(bool should_print_metrics); void set_user_information(const std::string& user_id, const std::string& first_use_time); - void init_user_information(std::string& user_id, std::string& first_use_time); + static void init_user_information(std::string& user_id, std::string& first_use_time); void track_metric(const std::string& name, double value); void track_property(const std::string& name, const std::string& value); @@ -22,6 +22,6 @@ namespace vcpkg::Metrics extern Util::LockGuarded<Metrics> g_metrics; - std::string get_SQM_user(); + std::string get_MAC_user(); bool get_compiled_metrics_enabled(); } |
