Added member initializers to Logger data structures
This commit is contained in:
parent
a26fc7a1fb
commit
1f95f90d26
1 changed files with 7 additions and 7 deletions
|
|
@ -47,10 +47,10 @@ struct ScopedTiming
|
||||||
|
|
||||||
struct FileTime
|
struct FileTime
|
||||||
{
|
{
|
||||||
Duration waitDuration;
|
Duration waitDuration { 0 };
|
||||||
Duration loadDuration;
|
Duration loadDuration { 0 };
|
||||||
uint32_t fileSize;
|
uint32_t fileSize { 0 };
|
||||||
absl::string_view filename;
|
absl::string_view filename {};
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CallbackBreakdown
|
struct CallbackBreakdown
|
||||||
|
|
@ -66,9 +66,9 @@ struct CallbackBreakdown
|
||||||
|
|
||||||
struct CallbackTime
|
struct CallbackTime
|
||||||
{
|
{
|
||||||
CallbackBreakdown breakdown;
|
CallbackBreakdown breakdown {};
|
||||||
int numVoices;
|
int numVoices { 0 };
|
||||||
size_t numSamples;
|
size_t numSamples { 0 };
|
||||||
};
|
};
|
||||||
|
|
||||||
class Logger
|
class Logger
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue