From f2877c8176eb195efdc2c26dd398429430950134 Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@Germany>
Date: Mon, 13 Oct 2008 06:45:46 +0200
Subject: [PATCH] xfer: minor name adjustment

---
 src/OpenFOAM/containers/misc/xfer.H | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/OpenFOAM/containers/misc/xfer.H b/src/OpenFOAM/containers/misc/xfer.H
index 1a3ed752fa9..45912d39a80 100644
--- a/src/OpenFOAM/containers/misc/xfer.H
+++ b/src/OpenFOAM/containers/misc/xfer.H
@@ -40,8 +40,8 @@ Description
     an operator=() copy method.
 
 Note
-    The macros xferCopy(T,arg) and xferTmp(T,arg) can be used as workarounds
-    for passing temporaries to copy-constructors.
+    The macros xferCopy(T,arg) and xferMove(T,arg) can be used as
+    workarounds for passing temporaries to copy-constructors.
 
 SourceFiles
     xferI.H
@@ -98,7 +98,7 @@ public:
         inline void operator=(const xfer<T>&);
 
         //- Return a non-const reference to const object
-        //  @sa xferTmp macro for an alternative for copy-constructors
+        //  @sa xferCopy, xferMove macros alternatives for copy-constructors
         inline const xfer<T>& operator()() const;
 
         //- Reference to the underlying datatype
@@ -119,13 +119,13 @@ public:
  * Useful for constructors where the argument is temporary.
  * This is a workaround for a template resolution issue.
  *
- * @sa xferTmp and Foam::xfer
+ * @sa xferMove and Foam::xfer
 */
 #define xferCopy(T,arg) \
     (static_cast<const Foam::xfer< T >&>(Foam::xfer< T >(arg)()))
 
 /**
- * @def xferTmp(T,arg)
+ * @def xferMove(T,arg)
  * Construct by transferring the contents of the @a arg
  * and return a const reference to an xfer of type \<T\>
  *
@@ -136,12 +136,12 @@ public:
  * @code
  *     List<label> a;
  *     ...
- *     List<label> b(xferTmp(List<label>, a));
+ *     List<label> b(xferMove(List<label>, a));
  * @endcode
  *
  * @sa xferCopy and Foam::xfer
 */
-#define xferTmp(T,arg) \
+#define xferMove(T,arg) \
     (static_cast<const Foam::xfer< T >&>(Foam::xfer< T >(arg, true)()))
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-- 
GitLab