projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve error message.
[oota-llvm.git]
/
unittests
/
Support
/
Casting.cpp
diff --git
a/unittests/Support/Casting.cpp
b/unittests/Support/Casting.cpp
index 3218189eeab6cf1e7cc78d5eebc27bec0162e806..e6c35fc21eb7dffc732ed42d9fe511483cd9a97b 100644
(file)
--- a/
unittests/Support/Casting.cpp
+++ b/
unittests/Support/Casting.cpp
@@
-250,7
+250,7
@@
class PTy {
Base *B;
public:
PTy(Base *B) : B(B) {}
-
LLVM_EXPLICIT
operator bool() const { return get(); }
+
explicit
operator bool() const { return get(); }
Base *get() const { return B; }
};