Fix definition of TTimeInfo to workaround an MSVC issue
MSVC 2015 complaints thus:
cuda\methods\boosting_progress_tracker.cpp(79): error C2664: 'void std::__y1::vector>::push_back(TTimeInfo &&)': cannot convert argument 1 from 'initializer list' to 'const TTimeInfo &'
#include <catboost/libs/metrics/metric.h>
struct TTimeInfo {
+ TTimeInfo(double passedTime, double remainingTime)
+ : PassedTime(passedTime)
+ , RemainingTime(remainingTime)
+ {
+ }
+ TTimeInfo() = default;
double PassedTime = 0;
double RemainingTime = 0;
};
