Skip to content

Commit 6b5c871

Browse files
committed
Remove trailing whitespace.
1 parent 6193a2c commit 6b5c871

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

sigc++/weak_raw_ptr.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,22 @@ struct weak_raw_ptr : public sigc::notifiable
3737
inline weak_raw_ptr()
3838
: p_(nullptr)
3939
{}
40-
40+
4141
inline weak_raw_ptr(T* p) noexcept
4242
: p_(p)
4343
{
4444
if(!p)
4545
return;
46-
46+
4747
p->add_destroy_notify_callback(this, &notify_object_invalidated);
4848
}
49-
49+
5050
inline weak_raw_ptr(const weak_raw_ptr& src) noexcept
5151
: p_(src.p_)
5252
{
5353
p_->add_destroy_notify_callback(this, &notify_object_invalidated);
5454
}
55-
55+
5656
inline weak_raw_ptr& operator=(const weak_raw_ptr& src) noexcept
5757
{
5858
if(p_) {
@@ -68,14 +68,14 @@ struct weak_raw_ptr : public sigc::notifiable
6868
//TODO:
6969
weak_raw_ptr(weak_raw_ptr&& src) = delete;
7070
weak_raw_ptr& operator=(weak_raw_ptr&& src) = delete;
71-
71+
7272
inline ~weak_raw_ptr() noexcept
7373
{
7474
if (p_) {
7575
p_->remove_destroy_notify_callback(this);
7676
}
7777
}
78-
78+
7979
inline explicit operator bool() const noexcept
8080
{
8181
return p_ != nullptr;
@@ -98,7 +98,7 @@ struct weak_raw_ptr : public sigc::notifiable
9898

9999
self->p_ = nullptr;
100100
}
101-
101+
102102
T* p_;
103103
};
104104

tests/test_size.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ main(int argc, char* argv[])
3535
//libsigc++ 2.10: 8
3636
//libsigc++ 3.0: 8
3737
std::cout << " trackable: " << sizeof(sigc::trackable) << std::endl;
38-
38+
3939
//libsigc++ 2.10: 16
4040
//libsigc++ 3.0: 16
4141
std::cout << " slot<void()>: " << sizeof(sigc::slot<void()>) << std::endl;

0 commit comments

Comments
 (0)