Skip to content

Commit

Permalink
Added syntax highlight (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
yisonPylkita authored and aantron committed Oct 19, 2018
1 parent df5df39 commit 94f8f95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Simply add `enum.h` to your project.
class. This seems [difficult to remove][nested]. There is a workaround with
`typedef` (or C++11 `using`):

```
```c++
BETTER_ENUM(SomePrefix_Color, uint8_t, Red, Green, Blue)

struct triplet {
Expand All @@ -86,7 +86,7 @@ limited by your compiler's maximum macro argument count.
`+` to explicitly promote them to type `Channel`. For example, if you are doing
a comparison:

```
```c++
channel == +Channel::Red
```

Expand Down

0 comments on commit 94f8f95

Please sign in to comment.