~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to subversion/bindings/cxxhl/include/svncxxhl/tristate.hpp

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2015-08-07 21:32:47 UTC
  • mfrom: (0.2.15) (4.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20150807213247-ozyewtmgsr6tkewl
Tags: 1.9.0-1
* Upload to unstable
* New upstream release.
  + Security fixes
    - CVE-2015-3184: Mixed anonymous/authenticated path-based authz with
      httpd 2.4
    - CVE-2015-3187: svn_repos_trace_node_locations() reveals paths hidden
      by authz
* Add >= 2.7 requirement for python-all-dev Build-Depends, needed to run
  tests.
* Remove Build-Conflicts against ruby-test-unit.  (Closes: #791844)
* Remove patches/apache_module_dependency in favor of expressing the
  dependencies in authz_svn.load/dav_svn.load.
* Build-Depend on apache2-dev (>= 2.4.16) to ensure ap_some_authn_required()
  is available when building mod_authz_svn and Depend on apache2-bin (>=
  2.4.16) for runtime support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#ifndef SVN_CXXHL_TRISTATE_HPP
29
29
#define SVN_CXXHL_TRISTATE_HPP
30
30
 
 
31
namespace apache {
31
32
namespace subversion {
32
33
namespace cxxhl {
33
 
namespace version_1_9_dev {
34
34
 
35
 
class tristate
 
35
class Tristate
36
36
{
37
37
public:
38
 
  static const tristate TRUE;
39
 
  static const tristate FALSE;
40
 
  static const tristate UNKNOWN;
 
38
  static const Tristate TRUE;
 
39
  static const Tristate FALSE;
 
40
  static const Tristate UNKNOWN;
41
41
 
42
 
  tristate(const tristate& that) throw()
 
42
  Tristate(const Tristate& that) throw()
43
43
    : m_value(that.m_value)
44
44
    {}
45
45
 
46
 
  bool operator==(const tristate& that) const throw()
 
46
  bool operator==(const Tristate& that) const throw()
47
47
    { return m_value == that.m_value; }
48
48
 
49
 
  bool operator!=(const tristate& that) const throw()
 
49
  bool operator!=(const Tristate& that) const throw()
50
50
    { return !(*this == that); }
51
51
 
52
52
  bool known() const throw()
53
53
    { return *this != UNKNOWN; }
54
54
 
55
55
private:
56
 
  explicit tristate(short int value) throw();
 
56
  explicit Tristate(short int value) throw();
57
57
  short int m_value;
58
58
};
59
59
 
60
 
} // namespace version_1_9_dev
61
60
} // namespace cxxhl
62
61
} // namespace subversion
 
62
} // namespace apache
63
63
 
64
64
#endif  // SVN_CXXHL_TRISTATE_HPP