Skip to content

Commit 0969972

Browse files
Clang format.
1 parent 9416362 commit 0969972

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

code/include/swoc/IPRange.h

+4-3
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ class IPRangeView {
604604
storage_type() = default;
605605
storage_type(std::monostate) {}
606606
storage_type(storage_type const &that);
607-
storage_type & operator = (storage_type const& rhs);
607+
storage_type &operator=(storage_type const &rhs);
608608
};
609609

610610
public:
@@ -1824,9 +1824,10 @@ IPSpace<PAYLOAD>::iterator::operator--(int) -> self_type {
18241824

18251825
// +++ IPRange +++
18261826

1827-
inline IPRangeView::storage_type::storage_type(IPRangeView::storage_type const & that) : _void(that._void) {}
1827+
inline IPRangeView::storage_type::storage_type(IPRangeView::storage_type const &that) : _void(that._void) {}
18281828

1829-
inline IPRangeView::storage_type & IPRangeView::storage_type::operator=(IPRangeView::storage_type const & rhs) {
1829+
inline IPRangeView::storage_type &
1830+
IPRangeView::storage_type::operator=(IPRangeView::storage_type const &rhs) {
18301831
_void = rhs._void;
18311832
return *this;
18321833
}

code/include/swoc/swoc_file.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ class path {
128128
self_type &operator=(std::string_view p);
129129

130130
/// Assign @a s as the path.
131-
self_type &operator=(std::string const& s);
131+
self_type &operator=(std::string const &s);
132132

133133
/// Move @a s to be the path.
134-
self_type &operator=(std::string && s);
134+
self_type &operator=(std::string &&s);
135135

136136
/// Copy @a s as the path.
137-
self_type &operator=(char const * s);
137+
self_type &operator=(char const *s);
138138

139139
/** Append or replace path with @a that.
140140
*
@@ -378,19 +378,19 @@ path::operator=(std::string_view p) {
378378
}
379379

380380
inline path &
381-
path::operator=(std::string const& s) {
381+
path::operator=(std::string const &s) {
382382
_path.assign(s);
383383
return *this;
384384
}
385385

386386
inline path &
387-
path::operator=(std::string && s) {
387+
path::operator=(std::string &&s) {
388388
_path.assign(std::move(s));
389389
return *this;
390390
}
391391

392392
inline path &
393-
path::operator=(char const * s) {
393+
path::operator=(char const *s) {
394394
_path.assign(s);
395395
return *this;
396396
}

0 commit comments

Comments
 (0)