The Road to Clang-Format part 1
Whitespace: The Darkening
Change-Id: I9c0c355ddf22f9b27763c97e3e85079c135ae7a7
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
diff --git a/src/hei_chip.hpp b/src/hei_chip.hpp
index 38a4ba2..216a4cc 100644
--- a/src/hei_chip.hpp
+++ b/src/hei_chip.hpp
@@ -17,16 +17,16 @@
~Chip() = default;
- Chip( const Chip & ) = default;
+ Chip(const Chip &) = default;
- Chip & operator=( const Chip & ) = default;
+ Chip & operator=(const Chip &) = default;
/**
* @brief Constructor.
* @param i_chip See description for iv_chip.
* @param i_type See description for iv_type.
*/
- Chip( void * i_chip, ChipType_t i_type ) :
+ Chip(void * i_chip, ChipType_t i_type) :
iv_chip(i_chip), iv_type(i_type)
{}
@@ -38,17 +38,16 @@
public: // Operators
- bool operator==( const Chip & r ) const
+ bool operator==(const Chip & r) const
{
return (iv_chip == r.iv_chip) &&
(iv_type == r.iv_type);
}
- bool operator<( const Chip & r ) const
+ bool operator<(const Chip & r) const
{
- return ( iv_chip < r.iv_chip ) ||
- ( (iv_chip == r.iv_chip) &&
- (iv_type < r.iv_type) );
+ return (iv_chip < r.iv_chip) ||
+ ((iv_chip == r.iv_chip) && (iv_type < r.iv_type));
}
private:
@@ -72,4 +71,3 @@
}; // end class Chip
} // end namespace libhei
-