diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-11-12 14:42:14 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-11-12 14:42:14 +0100 |
commit | 99b66c9c933af61e05ae59122491d5aadea52734 (patch) | |
tree | c0b038338c5ba58a72814890aa068316b1044fff /include | |
parent | ee720ed3bcc18fad43127d27e9d57781ecc91393 (diff) |
xdrstream: use more descriptive template arg name
Diffstat (limited to 'include')
-rw-r--r-- | include/object/xdrstream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/object/xdrstream.h b/include/object/xdrstream.h index 432f952..2e46cad 100644 --- a/include/object/xdrstream.h +++ b/include/object/xdrstream.h @@ -30,7 +30,7 @@ class XDRStream { XDRStream & operator<<(unsigned long long number); XDRStream & operator<<(long long number); XDRStream & operator<<(char const *text); - template<int N> XDRStream & operator<<(char const (&text)[N]); + template<int TSize> XDRStream & operator<<(char const (&text)[TSize]); XDRStream & operator<<(XDRStream & (*fun) (XDRStream &)); }; @@ -41,7 +41,7 @@ XDRStream & flush(XDRStream & os); // TERM: zero-termination XDRStream & term(XDRStream & os); -template<int N> +template<int TSize> XDRStream & opaque(XDRStream & os); XDRStream & fixed(XDRStream & os); |