We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 294f6ad commit 59a0eccCopy full SHA for 59a0ecc
roofit/roofitcore/inc/RooArgProxy.h
@@ -36,6 +36,13 @@ class RooArgProxy : public TNamed, public RooAbsProxy {
36
RooArgProxy(const char* name, RooAbsArg* owner, const RooArgProxy& other) ;
37
~RooArgProxy() override ;
38
39
+ // Delete copy/move construction and assignment, because it will always
40
+ // result in invalid proxies.
41
+ RooArgProxy(RooArgProxy const& other) = delete;
42
+ RooArgProxy(RooArgProxy && other) = delete;
43
+ RooArgProxy& operator=(RooArgProxy const& other) = delete;
44
+ RooArgProxy& operator=(RooArgProxy && other) = delete;
45
+
46
/// Return pointer to contained argument
47
inline RooAbsArg* absArg() const {
48
return _arg ;
0 commit comments