diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2017-03-15 12:07:17 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2017-03-15 12:07:34 +0000 |
commit | 6d6dc458500c17d4ee30d125289dd3352cfada75 (patch) | |
tree | 4b098274a54e65c7afaadeaa19a3938795c9e4cb /wsd/TestStubs.cpp | |
parent | 44ec90343ec1edfe09ee254993674523a5d5cfcd (diff) |
Remove un-necesssary and inefficient wakeupWorld.
While message emplacement happens in the DocumentBroker poll, we
can be sure that the next iteration of the poll will call
hasQueuedWrites before polling.
Diffstat (limited to 'wsd/TestStubs.cpp')
-rw-r--r-- | wsd/TestStubs.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/wsd/TestStubs.cpp b/wsd/TestStubs.cpp new file mode 100644 index 000000000..7972aec5c --- /dev/null +++ b/wsd/TestStubs.cpp @@ -0,0 +1,20 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Stub missing symbols required for unit tests ... + */ + +#include "config.h" + +#include "DocumentBroker.hpp" + +bool DocumentBroker::isCorrectThread() { return true; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |