mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-05 20:51:25 -07:00
Update coding guidelines policy for include guards
This commit is contained in:
parent
c01d28a471
commit
ca92a74a39
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ Example:
|
||||||
|
|
||||||
## 8. Include guard
|
## 8. Include guard
|
||||||
|
|
||||||
`#pragma once` should be used instead of "include guard" in new code:
|
`#pragma once` must be used instead of a "classic include guard":
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
// examplewidget.h
|
// examplewidget.h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue