summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qprocess.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/io/qprocess.h')
-rw-r--r--src/corelib/io/qprocess.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/io/qprocess.h b/src/corelib/io/qprocess.h
index fe5e84ccec..dbc226ef81 100644
--- a/src/corelib/io/qprocess.h
+++ b/src/corelib/io/qprocess.h
@@ -72,6 +72,8 @@ public:
~QProcessEnvironment();
QProcessEnvironment &operator=(const QProcessEnvironment &other);
+ inline void swap(QProcessEnvironment &other) { qSwap(d, other.d); }
+
bool operator==(const QProcessEnvironment &other) const;
inline bool operator!=(const QProcessEnvironment &other) const
{ return !(*this == other); }