summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-20 20:14:10 -0700
committerPatrick Venture <venture@google.com>2018-10-22 16:23:00 +0000
commit84ef2aa26ed0fec5159532279becbcf19a7975df (patch)
tree36544f214d641bfd3d9028b989616fc635b14a5f
parentad3becf99e1a88a91c507a190baf9d80000e55a8 (diff)
downloadopenbmc-docs-84ef2aa26ed0fec5159532279becbcf19a7975df.tar.gz
openbmc-docs-84ef2aa26ed0fec5159532279becbcf19a7975df.zip
cpp-style-and-conventions: fix wrong case in example
Class names are UpperCamelCase. Change-Id: Ic7d9432ec8458ef6e54070b0af445a9be10f1c9a Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r--cpp-style-and-conventions.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp-style-and-conventions.md b/cpp-style-and-conventions.md
index 95f1a09..51c2bfe 100644
--- a/cpp-style-and-conventions.md
+++ b/cpp-style-and-conventions.md
@@ -325,12 +325,12 @@ All in alphabetically sorted order.
```
template <typename T>
-class foo
+class Foo
{
using type = std::decay_t<T>;
};
-template <typename T> using foo_t = foo<T>::type;
+template <typename T> using foo_t = Foo<T>::type;
```
#### Variables
OpenPOWER on IntegriCloud