From 864da41e8a5e01e456635be21e60f114a1491a17 Mon Sep 17 00:00:00 2001 From: Blake Hawkins Date: Wed, 2 Dec 2015 19:31:11 +0000 Subject: [PATCH] dont use std::endl in examples --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a268569..aa15596 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -66,7 +66,7 @@ tab characters, like so: void func(const int x) { - std::cout << x << std::endl; + std::cout << x << '\n'; } #### Code Blocks @@ -77,7 +77,7 @@ Please use 4-space indentation to trigger code parsing, rather than [fenced code void func() { - std::cout << "This is code." << std::endl; + std::cout << "This is code.\n"; } ### Miscellaneous