Merge pull request #18 from sfc-gh-mpilman/features/actor-lineage-fluentd

add default constructor to Sample
This commit is contained in:
Lukas Joswiak 2021-04-28 15:04:36 -07:00 committed by GitHub
commit 7d308c7199
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ struct IALPCollector : IALPCollectorBase {
struct Sample : std::enable_shared_from_this<Sample> {
double time = 0.0;
Sample() {}
Sample(Sample const&) = delete;
Sample& operator=(Sample const&) = delete;
std::unordered_map<WaitState, std::pair<char*, unsigned>> data;