The Road to Clang-Format part 4
The Return of the Endline
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I5c0e8a8639ae9433c9a5f5eed444c07763e5bc3f
diff --git a/src/util/hei_flyweight.hpp b/src/util/hei_flyweight.hpp
index d6ce023..4aeb952 100644
--- a/src/util/hei_flyweight.hpp
+++ b/src/util/hei_flyweight.hpp
@@ -18,7 +18,10 @@
Flyweight() = default;
/** @brief Destructor. */
- ~Flyweight() { clear(); }
+ ~Flyweight()
+ {
+ clear();
+ }
/** @brief Default copy constructor. */
Flyweight(const Flyweight&) = delete;
@@ -69,7 +72,10 @@
*/
void clear()
{
- for (auto i : iv_index) { delete i; }
+ for (auto i : iv_index)
+ {
+ delete i;
+ }
iv_index.clear();
}
@@ -83,7 +89,10 @@
* initialization. Afterwards, the extra capacity is not needed. So this
* function will shrink the capacity to the size of the vector.
*/
- void compact() { iv_index.shrink_to_fit(); }
+ void compact()
+ {
+ iv_index.shrink_to_fit();
+ }
private: