~ubuntu-branches/ubuntu/quantal/ceph/quantal

« back to all changes in this revision

Viewing changes to src/include/CompatSet.h

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum, Clint Byrum, Micah Gersten
  • Date: 2011-02-12 22:50:26 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110212225026-yyyw4tk0msgql3ul
Tags: 0.24.2-0ubuntu1
[ Clint Byrum <clint@ubuntu.com> ]
* New upstream release. (LP: #658670, LP: #684011)
* debian/patches/fix-mkcephfs.patch: dropped (applied upstream)
* Removed .la files from libceph1-dev, libcrush1-dev and 
  librados1-dev (per Debian policy v3.9.1 10.2).
* debian/control: adding pkg-config as a build dependency
* debian/control: depend on libcrypto++-dev instead of libssl-dev
* debian/watch: added watch file

[ Micah Gersten <micahg@ubuntu.com> ]
* debian/control: add Homepage

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
      names[f.id] = f.name;
40
40
    }
41
41
 
 
42
    bool contains(uint64_t f) const {
 
43
      return names.count(f);
 
44
    }
 
45
    void remove(uint64_t f) {
 
46
      if (names.count(f)) {
 
47
        names.erase(f);
 
48
        mask &= ~f;
 
49
      }
 
50
    }      
 
51
 
42
52
    void encode(bufferlist& bl) const {
43
53
      ::encode(mask, bl);
44
54
      ::encode(names, bl);