diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-07-05 09:09:56 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-07-05 09:27:15 +0200 |
commit | deb413439699e6569c4bd309fb25554853ad2da8 (patch) | |
tree | 73754aa719464063b639b56f069a409cf3f1508c /src/qml | |
parent | 3b3d0c6f3c02dff9a7f911e4d541c9cc7527d5b8 (diff) |
Disable copy and move operators and ctors for ByteCodeHandler
You should really not copy or move it around.
Change-Id: I8137d175d63fcfeb915fb5f18e237fbd3fede67a
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml')
-rw-r--r-- | src/qml/compiler/qv4bytecodehandler_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4bytecodehandler_p.h b/src/qml/compiler/qv4bytecodehandler_p.h index fcc88d4f86..c1526e58a1 100644 --- a/src/qml/compiler/qv4bytecodehandler_p.h +++ b/src/qml/compiler/qv4bytecodehandler_p.h @@ -94,7 +94,9 @@ namespace Moth { class Q_QMLCOMPILER_PRIVATE_EXPORT ByteCodeHandler { + Q_DISABLE_COPY_MOVE(ByteCodeHandler) public: + ByteCodeHandler() = default; virtual ~ByteCodeHandler(); void decode(const char *code, uint len); |