From 543538d847bfff0f0e7a24c210051942dcf04b09 Mon Sep 17 00:00:00 2001 From: robocop Date: Tue, 1 Dec 2009 05:28:32 +0000 Subject: [PATCH] Misc. --- src/common/fb_exception.cpp | 2 +- src/jrd/svc.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/fb_exception.cpp b/src/common/fb_exception.cpp index 1461a343b5..a31b82ce1d 100644 --- a/src/common/fb_exception.cpp +++ b/src/common/fb_exception.cpp @@ -29,7 +29,7 @@ private: FB_THREAD_ID thread; 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) { diff --git a/src/jrd/svc.cpp b/src/jrd/svc.cpp index f197d20b39..dcccab6bd2 100644 --- a/src/jrd/svc.cpp +++ b/src/jrd/svc.cpp @@ -124,7 +124,7 @@ namespace { class ThreadIdHolder { public: - ThreadIdHolder(Jrd::Service::StatusStringsHelper& p) : strHelper(&p) + explicit ThreadIdHolder(Jrd::Service::StatusStringsHelper& p) : strHelper(&p) { MutexLockGuard guard(strHelper->mtx); strHelper->workerThread = getThreadId();