tabs to spaces and use 2space indenting
This commit is contained in:
parent
9276eea491
commit
03b1ced568
|
@ -36,7 +36,7 @@ class ThreadException : public Exception
|
|||
{
|
||||
private:
|
||||
#ifndef SOLARIS
|
||||
pid_t pid() {
|
||||
pid_t pid() {
|
||||
pid_t tid;
|
||||
#ifdef __FreeBSD__
|
||||
long lwpid;
|
||||
|
@ -50,9 +50,9 @@ pid_t pid() {
|
|||
#endif
|
||||
#endif
|
||||
return tid;
|
||||
}
|
||||
}
|
||||
#else
|
||||
pthread_t pid() { return( pthread_self() ); }
|
||||
pthread_t pid() { return( pthread_self() ); }
|
||||
#endif
|
||||
public:
|
||||
ThreadException( const std::string &message ) : Exception( stringtf( "(%d) "+message, (long int)pid() ) ) {
|
||||
|
|
Loading…
Reference in New Issue