mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-27 23:14:31 +00:00
Merge pull request #13975 from FranciscoPombal/pragmatism_v2
Update coding guidelines policy for include guards
This commit is contained in:
commit
7c48ba2f19
@ -372,7 +372,7 @@ Example:
|
||||
|
||||
## 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++
|
||||
// examplewidget.h
|
||||
|
Loading…
x
Reference in New Issue
Block a user