File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ namespace ACE
48
48
49
49
~Context ();
50
50
51
- operator bool () const ;
51
+ explicit operator bool () const ;
52
52
53
53
bool operator ! () const ;
54
54
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ namespace ACE
121
121
bool is_ok () const ;
122
122
123
123
// / Return true in case of a *valid* HTTP status
124
- operator bool () const ;
124
+ explicit operator bool () const ;
125
125
126
126
// / Return true if status code == INVALID
127
127
bool operator !() const ;
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ namespace ACE
43
43
44
44
bool operator ! ();
45
45
46
- operator bool ();
46
+ explicit operator bool ();
47
47
48
48
std::istream& operator * ();
49
49
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class Dynamic_Bitset
31
31
typedef unsigned size_type;
32
32
reference (Dynamic_Bitset* bitset, size_type bit);
33
33
reference operator = (bool val);
34
- operator bool () const ;
34
+ explicit operator bool () const ;
35
35
private:
36
36
Dynamic_Bitset* bitset_;
37
37
size_type bit_;
You can’t perform that action at this time.
0 commit comments