Skip to content

Commit 2b75d2c

Browse files
Update AGENTS.md to use pragma once
1 parent f96019d commit 2b75d2c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ repository has an `AGENTS.md` with conflicting rules they should take priority.
9999
- Add the LiveKit copyright header with the correct year to new code files.
100100
- Prefer the constructor initializer list rather than variable declaration
101101
and assignment in the constructor body.
102+
- Use `#pragma once` for project-owned C++ headers. Do not introduce macro
103+
include guards unless a specific portability constraint requires one.
102104
- Use `CamelCase` for types/classes, `camelBack` for methods, and
103105
`snake_case` for parameters (enforced by `readability-identifier-naming`).
104106
- For Doxygen/doc comments, prefer `///` comment style and use @brief,

0 commit comments

Comments
 (0)