Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Strikethrough does not work
Browse files Browse the repository at this point in the history
nyalldawson authored Jan 23, 2025
1 parent a7040a2 commit 5db9a39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qep-314-coding-style.md
Original file line number Diff line number Diff line change
@@ -88,9 +88,9 @@ auto pointUniquePointer = std::make_unique< QgsPoint >( 3, 4 );
auto pointSharedPointer = std::make_shared< QgsPoint >( 3, 4 );
// NOT allowed, the argument types for the std::tuple are not explicit:
<s>auto myTuple = std::make_tuple( 0, 5 );</s>
auto myTuple = std::make_tuple( 0, 5 );
// rather do
auto myTuple = std::tuple<int, int>( 0 , 5 );
auto myTuple = std::tuple<int, int>( 0, 5 );
```

- 3.2. If ``enums`` are to be used outside of a single .h/.cpp file (or there is a reasonable chance that they will be in future!), they should be placed inside the ``Qgis`` namespace.

0 comments on commit 5db9a39

Please sign in to comment.