[libsigcplusplus] Remove trailing whitespace.



commit 6b5c871a378c1d57309800271b9b0e9010bda084
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon May 16 15:27:52 2016 +0200

    Remove trailing whitespace.

 sigc++/weak_raw_ptr.h |   14 +++++++-------
 tests/test_size.cc    |    2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/sigc++/weak_raw_ptr.h b/sigc++/weak_raw_ptr.h
index c2e3fcb..7d67dbc 100644
--- a/sigc++/weak_raw_ptr.h
+++ b/sigc++/weak_raw_ptr.h
@@ -37,22 +37,22 @@ struct weak_raw_ptr : public sigc::notifiable
   inline weak_raw_ptr()
   : p_(nullptr)
   {}
-  
+
   inline weak_raw_ptr(T* p) noexcept
   : p_(p)
   {
     if(!p)
       return;
-      
+
     p->add_destroy_notify_callback(this, &notify_object_invalidated);
   }
-  
+
   inline weak_raw_ptr(const weak_raw_ptr& src) noexcept
   : p_(src.p_)
   {
     p_->add_destroy_notify_callback(this, &notify_object_invalidated);
   }
-  
+
   inline weak_raw_ptr& operator=(const weak_raw_ptr& src) noexcept
   {
     if(p_) {
@@ -68,14 +68,14 @@ struct weak_raw_ptr : public sigc::notifiable
   //TODO:
   weak_raw_ptr(weak_raw_ptr&& src) = delete;
   weak_raw_ptr& operator=(weak_raw_ptr&& src) = delete;
-  
+
   inline ~weak_raw_ptr() noexcept
   {
     if (p_) {
       p_->remove_destroy_notify_callback(this);
     }
   }
-  
+
   inline explicit operator bool() const noexcept
   {
     return p_ != nullptr;
@@ -98,7 +98,7 @@ private:
 
     self->p_ = nullptr;
   }
-  
+
   T* p_;
 };
 
diff --git a/tests/test_size.cc b/tests/test_size.cc
index 7d74a7b..9e116fd 100644
--- a/tests/test_size.cc
+++ b/tests/test_size.cc
@@ -35,7 +35,7 @@ main(int argc, char* argv[])
     //libsigc++ 2.10: 8
     //libsigc++ 3.0: 8
     std::cout << "  trackable:               " << sizeof(sigc::trackable) << std::endl;
-    
+
     //libsigc++ 2.10: 16
     //libsigc++ 3.0: 16
     std::cout << "  slot<void()>:              " << sizeof(sigc::slot<void()>) << std::endl;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]