diff options
Diffstat (limited to 'strbuf.h')
-rw-r--r-- | strbuf.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -109,9 +109,7 @@ extern void strbuf_attach(struct strbuf *, void *, size_t, size_t); */ static inline void strbuf_swap(struct strbuf *a, struct strbuf *b) { - struct strbuf tmp = *a; - *a = *b; - *b = tmp; + SWAP(*a, *b); } |