summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/ASTClone.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2010-03-23 12:11:33 +0100
committerRoberto Raggi <roberto.raggi@nokia.com>2010-03-23 12:12:07 +0100
commit4b8d59719624271c1e70ba93294016fb593601f5 (patch)
tree6f8cf60ee992f620bffe561138a5f61e9f37fefd /src/shared/cplusplus/ASTClone.cpp
parent21c13328d3c5cf902734045394aa0a976aaf8db2 (diff)
downloadqt-creator-4b8d59719624271c1e70ba93294016fb593601f5.tar.gz
Recognize C++0x rvalue references.
Diffstat (limited to 'src/shared/cplusplus/ASTClone.cpp')
-rw-r--r--src/shared/cplusplus/ASTClone.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cplusplus/ASTClone.cpp b/src/shared/cplusplus/ASTClone.cpp
index a3df43854e..738d02684d 100644
--- a/src/shared/cplusplus/ASTClone.cpp
+++ b/src/shared/cplusplus/ASTClone.cpp
@@ -1032,7 +1032,7 @@ PointerAST *PointerAST::clone(MemoryPool *pool) const
ReferenceAST *ReferenceAST::clone(MemoryPool *pool) const
{
ReferenceAST *ast = new (pool) ReferenceAST;
- ast->amp_token = amp_token;
+ ast->reference_token = reference_token;
return ast;
}