aboutsummaryrefslogtreecommitdiff
path: root/docs/styleguide-cpp.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/styleguide-cpp.md')
-rw-r--r--docs/styleguide-cpp.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/styleguide-cpp.md b/docs/styleguide-cpp.md
index c48b5f6..83a2647 100644
--- a/docs/styleguide-cpp.md
+++ b/docs/styleguide-cpp.md
@@ -1,4 +1,4 @@
-# OpenVic2 C++ Style Guidelines
+# OpenVic C++ Style Guidelines
## Table of Contents
1. [Why Style?](styleguide-cpp.md#1-why-style)
@@ -298,22 +298,22 @@ Source code files should adhere to the following:
return true;
}
```
-- The include order should be: C++ standard headers, followed by Godot headers, then OpenVic2 headers
+- The include order should be: C++ standard headers, followed by Godot headers, then OpenVic headers
- C++ standard headers and Godot headers should be enclosed by angle brackets `<>`
- - OpenVic2 headers should be enclosed by double quotes `""`
+ - OpenVic headers should be enclosed by double quotes `""`
```c++
//Correct
#include <vector>
#include <string>
#include <godot_cpp/classes/object.hpp>
#include <godot_cpp/core/class_db.hpp>
- #include "openvic2/src/SampleHeader.hpp"
- #include "openvic2/src/SampleHeader2.hpp"
+ #include "openvic/src/SampleHeader.hpp"
+ #include "openvic/src/SampleHeader2.hpp"
//Incorrect
- #include "openvic2/src/SampleHeader.hpp"
+ #include "openvic/src/SampleHeader.hpp"
#include <godot_cpp/classes/object.hpp>
- #include "openvic2/src/SampleHeader2.hpp"
+ #include "openvic/src/SampleHeader2.hpp"
#include <godot_cpp/core/class_db.hpp>
#include <vector>
#include <string>