pkgsrc/net/xorp/patches/patch-rib_rt__tab__merged.cc
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
478 B
C++

$NetBSD: patch-rib_rt__tab__merged.cc,v 1.1 2012/07/03 17:36:10 joerg Exp $
--- rib/rt_tab_merged.cc.orig 2009-01-05 18:31:07.000000000 +0000
+++ rib/rt_tab_merged.cc
@@ -194,7 +194,7 @@ MergedTable<A>::replumb(RouteTable<A>* o
} else {
XLOG_UNREACHABLE();
}
- set_tablename(make_merged_name(_table_a, _table_b));
+ this->set_tablename(make_merged_name(_table_a, _table_b));
debug_msg("MergedTable: now called \"%s\"\n", this->tablename().c_str());
}