Commit ed7de067 by Henner Zeller

Fully namespace-qualify std::inserter(); add missing include.

Signed-off-by: Henner Zeller <hzeller@google.com>
parent 3d35624b
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <set> #include <set>
#include <algorithm> #include <algorithm>
#include <cassert> #include <cassert>
#include <iterator>
#include "gia.h" #include "gia.h"
...@@ -1031,7 +1032,7 @@ public: // Merge/decompose ...@@ -1031,7 +1032,7 @@ public: // Merge/decompose
for(it2++; it2 != vObjs.end(); it2++) { for(it2++; it2 != vObjs.end(); it2++) {
std::set<int> s2(vvFis[*it2].begin(), vvFis[*it2].end()); std::set<int> s2(vvFis[*it2].begin(), vvFis[*it2].end());
std::set<int> s; std::set<int> s;
std::set_intersection(s1.begin(), s1.end(), s2.begin(), s2.end(), inserter(s, s.begin())); std::set_intersection(s1.begin(), s1.end(), s2.begin(), s2.end(), std::inserter(s, s.begin()));
if(s.size() > 1) { if(s.size() > 1) {
if(s == s1) { if(s == s1) {
if(s == s2) { if(s == s2) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment