From 428e8f4f693192a527065e5488bbc7fceb938b6f Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 16 Dec 2013 02:39:31 +0000 Subject: Fix some Windows-related problems. - Fix an error relating to the unavailability of std::back_inserter. - Fix loading configuration files when using relative paths. - Fix two methods in hashcomp being exported twice. - Remove some unimportant error messages. --- src/modules/m_spanningtree/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp index c9abbd008..dbd246ffe 100644 --- a/src/modules/m_spanningtree/utils.cpp +++ b/src/modules/m_spanningtree/utils.cpp @@ -227,7 +227,7 @@ void SpanningTreeUtilities::RefreshIPCache() continue; } - std::copy(L->AllowMasks.begin(), L->AllowMasks.end(), std::back_inserter(ValidIPs)); + ValidIPs.insert(ValidIPs.end(), L->AllowMasks.begin(), L->AllowMasks.end()); irc::sockets::sockaddrs dummy; bool ipvalid = irc::sockets::aptosa(L->IPAddr, L->Port, dummy); -- cgit v1.3.1-10-gc9f91