pkgsrc/net/xorp/patches/patch-libxorp_transaction.hh
joerg 0426d1b980 Fix a number of issues found by clang:
- missing this references to ensure template functions are found
- using == as assignment
- unused functions in lex sources
- adding integers to strings instead of formatting them
- class vs struct mismatches
2012-07-03 17:36:10 +00:00

13 lines
459 B
C++

$NetBSD: patch-libxorp_transaction.hh,v 1.1 2012/07/03 17:36:10 joerg Exp $
--- libxorp/transaction.hh.orig 2009-01-05 18:30:58.000000000 +0000
+++ libxorp/transaction.hh
@@ -276,7 +276,7 @@ private:
uint32_t _max_pending;
uint32_t _next_tid;
- friend class Transaction; // for Transaction to call operation_result()
+ friend struct Transaction; // for Transaction to call operation_result()
};
#endif // __LIBXORP_TRANSACTION_HH__