kit: mark Document as final
Document has to be final: its constructor calls sendTextFrame(), which calls the virtual sendFrame(). So the only situation where this code works correctly is when Document is never subclassed. Change-Id: I7c13abdae57d9e1ba3416ec1963b58bce0d42e6f
This commit is contained in:
parent
43f09f284c
commit
54e5a1000b
1 changed files with 1 additions and 1 deletions
|
@ -855,7 +855,7 @@ public:
|
|||
/// per process. But for security reasons don't.
|
||||
/// However, we could have a loolkit instance
|
||||
/// per user or group of users (a trusted circle).
|
||||
class Document : public DocumentManagerInterface
|
||||
class Document final : public DocumentManagerInterface
|
||||
{
|
||||
public:
|
||||
/// We have two types of password protected documents
|
||||
|
|
Loading…
Reference in a new issue