cpp-style: fix conflicting enum advice
Under the Types section, we have:
Structs, classes, enums, and typed template parameters should all be
in UpperCamelCase.
and then in Constants:
Constants and enums should be named like variables in lowerCamelCase.
It looks like the latter is supposed to refer to enum members, rather
than the enum declaration. This change clarifies the constants section.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Change-Id: I2a96c2901a4840a4dd6b18395353e4054a221900
diff --git a/cpp-style-and-conventions.md b/cpp-style-and-conventions.md
index 51c2bfe..589fda8 100644
--- a/cpp-style-and-conventions.md
+++ b/cpp-style-and-conventions.md
@@ -347,7 +347,7 @@
#### Constants
-* Constants and enums should be named like variables in lowerCamelCase.
+* Constants and enum members should be named like variables in lowerCamelCase.
#### Namespaces