From 8c7d1155cf0f60022b4bda9cd92c1024c6cd6736 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Fri, 15 Apr 2011 13:32:54 +0200 Subject: [PATCH] work around pybindgen bug --- src/core/model/int64x64.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/model/int64x64.h b/src/core/model/int64x64.h index 3d13a3c0e..58cc46507 100644 --- a/src/core/model/int64x64.h +++ b/src/core/model/int64x64.h @@ -16,13 +16,13 @@ namespace ns3 { #define INT64X64_OP_ARITH_TYPE(op,type) \ - inline int64x64_t operator op (const int64x64_t &lhs, const type &rhs) \ + inline int64x64_t operator op (const int64x64_t &lhs, const type rhs) \ { \ int64x64_t tmp = lhs; \ tmp op##= int64x64_t (rhs); \ return tmp; \ } \ - inline int64x64_t operator op (const type &lhs, const int64x64_t &rhs) \ + inline int64x64_t operator op (const type lhs, const int64x64_t &rhs) \ { \ int64x64_t tmp = int64x64_t (lhs); \ tmp op##= rhs; \