diff options
author | Norbert Preining <norbert@preining.info> | 2021-12-28 03:01:00 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-12-28 03:01:00 +0000 |
commit | ecdf859b6ce481abfd530425dcf6f0f764bd0001 (patch) | |
tree | 13bc161dc046876ac6c92fce5f9f5034ba9aa573 /graphics/asymptote/pair.h | |
parent | 790995b7e79697514364450bf9c04f1b8d500838 (diff) |
CTAN sync 202112280300
Diffstat (limited to 'graphics/asymptote/pair.h')
-rw-r--r-- | graphics/asymptote/pair.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/asymptote/pair.h b/graphics/asymptote/pair.h index b37b778ecb..d9003839ab 100644 --- a/graphics/asymptote/pair.h +++ b/graphics/asymptote/pair.h @@ -21,6 +21,7 @@ #include "common.h" #include "angle.h" +#include "xstream.h" namespace camp { @@ -231,6 +232,14 @@ public: return out; } +#ifdef HAVE_RPC_RPC_H + friend xdr::oxstream& operator << (xdr::oxstream& out, pair const& v) + { + out << v.x << v.y; + return out; + } +#endif + friend class box; }; |