{
// Check if the label 'from' appears more than once
vector<string> labels = buffer()->getLabelList();
- // count is broken on some systems, so use the HP version
- int res;
- count(labels.begin(), labels.end(), from, res);
+ // count is broken on some systems, so use the HP version (anon)
+ // Which does not exist on certain systems, so _we_
+ // use the standard version. (Lgb)
+ int res = count(labels.begin(), labels.end(), from);
if (res > 1)
return false;
+2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
+
+ * BufferView2.C (ChangeRefsIfUnique): use standard version of
+ count.
+
2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* bufferlist.C (readFile): create the buffer _after_ checking that