Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
af81de0
)
THRIFT-214. cpp: Qualify another cast
author
David Reiss
<dreiss@apache.org>
Tue, 1 Sep 2009 18:03:07 +0000
(18:03 +0000)
committer
David Reiss
<dreiss@apache.org>
Tue, 1 Sep 2009 18:03:07 +0000
(18:03 +0000)
r722337 only fixed one occurrence of this issue.
Not sure why this one hasn't been a problem before,
but it is breaking compilation on Mac OS 10.6.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@810150
13f79535
-47bb-0310-9956-
ffa450edef68
lib/cpp/src/concurrency/PosixThreadFactory.cpp
patch
|
blob
|
history
diff --git
a/lib/cpp/src/concurrency/PosixThreadFactory.cpp
b/lib/cpp/src/concurrency/PosixThreadFactory.cpp
index
893dc80
..
d42288c
100644
(file)
--- a/
lib/cpp/src/concurrency/PosixThreadFactory.cpp
+++ b/
lib/cpp/src/concurrency/PosixThreadFactory.cpp
@@
-286,8
+286,7
@@
class PosixThreadFactory::Impl {
void setDetached(bool value) { detached_ = value; }
Thread::id_t getCurrentThreadId() const {
- // TODO(dreiss): Stop using C-style casts.
- return (id_t)pthread_self();
+ return (Thread::id_t)pthread_self();
}
};