Skip to content
Open
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
3 changes: 3 additions & 0 deletions crates/cpp/helper-types/wit.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#pragma once

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the #pragma once still necessary with an ifdef guard?

#ifndef WIT_BINDGEN_WIT_H_DEFINED
#define WIT_BINDGEN_WIT_H_DEFINED

#include <assert.h>
#include <map>
Expand Down Expand Up @@ -1888,3 +1890,4 @@ class ErrorContext {
}
};
} // namespace wit
#endif // WIT_BINDGEN_WIT_H_DEFINED
Loading