mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Update coding guidelines policy for include guards
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user