8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 00:03:03 +01:00
This commit is contained in:
robocop 2009-12-01 05:35:54 +00:00
parent ab32517063
commit 44c469b51a
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ private:
FB_THREAD_ID thread; FB_THREAD_ID thread;
public: public:
ThreadBuffer(FB_THREAD_ID thr) : buffer_ptr(buffer), thread(thr) { } explicit ThreadBuffer(FB_THREAD_ID thr) : buffer_ptr(buffer), thread(thr) { }
const char* alloc(const char* string, size_t& length) const char* alloc(const char* string, size_t& length)
{ {

View File

@ -129,7 +129,7 @@ namespace {
class ThreadIdHolder class ThreadIdHolder
{ {
public: public:
ThreadIdHolder(Jrd::Service::StatusStringsHelper& p) : strHelper(&p) explicit ThreadIdHolder(Jrd::Service::StatusStringsHelper& p) : strHelper(&p)
{ {
MutexLockGuard guard(strHelper->mtx); MutexLockGuard guard(strHelper->mtx);
strHelper->workerThread = getThreadId(); strHelper->workerThread = getThreadId();