diff --git a/README.md b/README.md index d32a5f9..e6ff740 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Example of usage. This code snippet will generate block with function name and Magenta color: ```cpp -#include +#include void frame() { EASY_FUNCTION(profiler::colors::Magenta); // Magenta block with name "frame" @@ -43,7 +43,7 @@ To profile any block you may do this as following. You can specify these blocks also with Google material design colors or just set name of the block (in this case it will have default color which is `Amber100`): ```cpp -#include +#include void frame() { // some code @@ -64,7 +64,7 @@ void frame() { You can also use your own colors. easy_profiler is using standard 32-bit ARGB color format. Example: ```cpp -#include +#include void foo() { EASY_FUNCTION(0xfff080aa); // Function block with custom color