fix linking error for clang 17

CXXLD    unittest
/usr/bin/ld: ../kit/unittest-Kit.o: in function
`Document::updateEditorSpeeds(int, int)':
/opt/shared/work/libreoffice/repo-online/online-cl/test/../kit/Kit.cpp:1488:(.text._ZN8Document18updateEditorSpeedsEii[_ZN8Document18updateEditorSpeedsEii]+0x2d9):
undefined reference to `ChildSession::getSpeed()'

Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: If95662647d33f80dd98013b6bc81be897dd6ffc5
This commit is contained in:
Marco Cecchetti 2023-12-25 12:20:51 +01:00 committed by Miklos Vajna
parent b5d81234e5
commit 9f6824a620

View file

@ -21,6 +21,7 @@
void ChildSession::loKitCallback(const int /* type */, const std::string& /* payload */) {}
void ChildSession::disconnect() {}
int ChildSession::getSpeed() { return 0; }
bool ChildSession::_handleInput(const char* /*buffer*/, int /*length*/) { return false; }
bool ChildSession::isTileInsideVisibleArea(const TileDesc& /*tile*/) const { return false; }
ChildSession::~ChildSession() {}