Skip to content

Commit 9c470e0

Browse files
committed
Add support for C++ rvalue references
1 parent 9bb5368 commit 9c470e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

solution/GraphicalDebugging/Util.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ public static string CppRemoveCVRef(string type)
141141
type = type.Remove(0, 9);
142142
if (type.EndsWith(" const"))
143143
type = type.Remove(type.Length - 6);
144+
if (type.EndsWith(" &&"))
145+
type = type.Remove(type.Length - 3);
144146
if (type.EndsWith(" &"))
145147
type = type.Remove(type.Length - 2);
146148
return type;

0 commit comments

Comments
 (0)