Browse Source

[trac998] removed redundant white spaces

JINMEI Tatuya 14 years ago
parent
commit
8320629b00
2 changed files with 4 additions and 4 deletions
  1. 3 3
      src/lib/acl/ip_check.h
  2. 1 1
      src/lib/acl/tests/ip_check_unittest.cc

+ 3 - 3
src/lib/acl/ip_check.h

@@ -291,9 +291,9 @@ public:
             masksize_(other.masksize_), inverse_(other.inverse_),
             masksize_(other.masksize_), inverse_(other.inverse_),
             family_(other.family_), straddr_(other.straddr_)
             family_(other.family_), straddr_(other.straddr_)
     {
     {
-        std::copy(other.address_.word, other.address_.word + IPV6_SIZE32, 
+        std::copy(other.address_.word, other.address_.word + IPV6_SIZE32,
                   address_.word);
                   address_.word);
-        std::copy(other.netmask_.word, other.netmask_.word + IPV6_SIZE32, 
+        std::copy(other.netmask_.word, other.netmask_.word + IPV6_SIZE32,
                   netmask_.word);
                   netmask_.word);
     }
     }
 
 
@@ -332,7 +332,7 @@ public:
 
 
     /// \brief Estimated cost
     /// \brief Estimated cost
     ///
     ///
-    /// Assume that the cost of the match is linear and depends on the 
+    /// Assume that the cost of the match is linear and depends on the
     /// maximum number of comparison operations.
     /// maximum number of comparison operations.
     ///
     ///
     /// \return Estimated cost of the comparison
     /// \return Estimated cost of the comparison

+ 1 - 1
src/lib/acl/tests/ip_check_unittest.cc

@@ -503,7 +503,7 @@ TEST(IPCheck, V6AssignmentOperator) {
 }
 }
 
 
 TEST(IPCheck, V6Compare) {
 TEST(IPCheck, V6Compare) {
-    // Set up some data.  
+    // Set up some data.
     vector<uint8_t> v6addr_2(V6ADDR_2, V6ADDR_2 + sizeof(V6ADDR_2));
     vector<uint8_t> v6addr_2(V6ADDR_2, V6ADDR_2 + sizeof(V6ADDR_2));
     vector<uint8_t> v6addr_2_48(V6ADDR_2_48, V6ADDR_2_48 + sizeof(V6ADDR_2_48));
     vector<uint8_t> v6addr_2_48(V6ADDR_2_48, V6ADDR_2_48 + sizeof(V6ADDR_2_48));
     vector<uint8_t> v6addr_2_52(V6ADDR_2_52, V6ADDR_2_52 + sizeof(V6ADDR_2_52));
     vector<uint8_t> v6addr_2_52(V6ADDR_2_52, V6ADDR_2_52 + sizeof(V6ADDR_2_52));