Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix errors in clang #231

Merged
merged 2 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion krabs/krabs/kt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ namespace krabs { namespace details {
inline void kt::enable_providers(
const krabs::trace<krabs::details::kt> &trace)
{
EVENT_TRACE_GROUPMASK_INFORMATION gmi = { 0 };
EVENT_TRACE_GROUPMASK_INFORMATION gmi = {};
gmi.EventTraceInformationClass = EventTraceGroupMaskInformation;
gmi.TraceHandle = trace.registrationHandle_;

Expand Down
2 changes: 1 addition & 1 deletion krabs/krabs/provider.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ namespace krabs {
tmp.all_ = static_cast<ULONGLONG>(all_);
tmp.level_ = static_cast<UCHAR>(level_);
tmp.trace_flags_ = static_cast<ULONG>(trace_flags_);
tmp.callbacks_ = this.callbacks_;
tmp.callbacks_ = this->callbacks_;

return tmp;
}
Expand Down
Loading