THRIFT-214. cpp: Qualify a cast to fix OSX compilation
authorDavid Reiss <dreiss@apache.org>
Tue, 2 Dec 2008 02:32:25 +0000 (02:32 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 2 Dec 2008 02:32:25 +0000 (02:32 +0000)
commitfbb14ef1b33db23cb0862975af58bbba957d2378
treeccd152e2b70aa5c54e648eba6b30355f88d15b63
parent428d5695ab6dd8a598b1be5bb29cfb7c90aa9414
THRIFT-214. cpp: Qualify a cast to fix OSX compilation

id_t is defined in some OSX header, and the id_t in this function
resolved to that one instead of Thread::id_t.  This change fully
qualifies the type to make sure it resolves properly.

Also remove a comment about eliminating the C-style cast, since it
is actually quite appropriate in this case.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@722337 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/src/concurrency/PosixThreadFactory.cpp