From dd5bafc74c09c37a379e68a51bf8fa9a2c4a402a Mon Sep 17 00:00:00 2001
From: Mitsuo Tokumori <rtokumori@pucp.edu.pe>
Date: Thu, 13 Oct 2022 01:52:13 -0500
Subject: Move include directive to example imp.

---
 tips/formatting.adoc | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'tips/formatting.adoc')

diff --git a/tips/formatting.adoc b/tips/formatting.adoc
index 3180aeb..58c5251 100644
--- a/tips/formatting.adoc
+++ b/tips/formatting.adoc
@@ -26,10 +26,11 @@ Example implementation:
 
 /* Stream manipulator macros
  * =========================
- *
- * Requires <iostream> and <iomanip>
  */
 
+#include <iostream>
+#include <iomanip>
+
 // The parenthesis in C/C++ macros are best practice
 // https://stackoverflow.com/q/7186504/7498073
 
@@ -62,8 +63,6 @@ Example usage:
 /* Example usage 
  * ============= */
 
-#include <iostream>
-#include <iomanip>
 #include "aux.h"      // It's easier to import a single .h to many .cpp files
 
 using namespace std;
-- 
cgit v1.2.3

