summaryrefslogtreecommitdiff
path: root/stoc/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-19 10:02:29 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-20 11:17:22 +0200
commit8d54796bf152499ecbe61788be64c9035f725dfa (patch)
tree9516219cf8e60bdd46597e522ca4e9fde9b8f407 /stoc/source
parente4740dbecfce958c2c707d8cc92e6dbe52f4b71b (diff)
enhance pass-by-ref plugin to detect large arguments
Detect arguments larger than 64 chars passed by value. Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'stoc/source')
-rw-r--r--stoc/source/javavm/interact.hxx2
-rw-r--r--stoc/source/javavm/javavm.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/javavm/interact.hxx b/stoc/source/javavm/interact.hxx
index da4aa2d6a154..af1658a9ef54 100644
--- a/stoc/source/javavm/interact.hxx
+++ b/stoc/source/javavm/interact.hxx
@@ -52,7 +52,7 @@ private:
class RetryContinuation;
InteractionRequest(InteractionRequest &); // not implemented
- void operator =(InteractionRequest); // not implemented
+ void operator =(const InteractionRequest&); // not implemented
virtual ~InteractionRequest();
diff --git a/stoc/source/javavm/javavm.hxx b/stoc/source/javavm/javavm.hxx
index 63683945b416..f665b0b09c62 100644
--- a/stoc/source/javavm/javavm.hxx
+++ b/stoc/source/javavm/javavm.hxx
@@ -122,7 +122,7 @@ public:
private:
JavaVirtualMachine(JavaVirtualMachine &); // not implemented
- void operator =(JavaVirtualMachine); // not implemented
+ void operator =(const JavaVirtualMachine&); // not implemented
virtual ~JavaVirtualMachine();