diff --git a/src/jrd/GlobalRWLock.h b/src/jrd/GlobalRWLock.h index cebaf8d1fd..a3eb8f26cb 100644 --- a/src/jrd/GlobalRWLock.h +++ b/src/jrd/GlobalRWLock.h @@ -124,7 +124,7 @@ public: // Returns true if lock was released bool tryReleaseLock(thread_db* tdbb); - Database* getDatabase() const + Database* getDatabase() { return dbb; }