~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to extern/solid/src/broad/BP_ProxyList.h

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 
46
46
        iterator add(BP_Proxy *proxy) 
47
47
        {
48
 
                BP_ProxyEntry entry = std::make_pair(proxy, 0);
 
48
                BP_ProxyEntry entry = std::make_pair(proxy, (unsigned int)0);
49
49
                iterator it = std::lower_bound(begin(), end(), entry);
50
50
                if (it == end() || (*it).first != proxy) 
51
51
                {
57
57
 
58
58
        void remove(BP_Proxy *proxy) 
59
59
        {
60
 
                BP_ProxyEntry entry = std::make_pair(proxy, 0);
 
60
                BP_ProxyEntry entry = std::make_pair(proxy, (unsigned int)0);
61
61
                iterator it = std::lower_bound(begin(), end(), entry);
62
62
                if (it != end() && (*it).first == proxy && --(*it).second == 0) 
63
63
                {