c++/class: Use yas-c++-class-name

This does the same yas/substr calls previously done by the snippet.
This commit is contained in:
Wieland Hoffmann 2018-10-03 10:39:59 +02:00
parent 2ce06a1fa6
commit c9d08ca7b4
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
class ${1:Name}
{
public:
${1:$(yas/substr yas-text "[^: ]*")}();
${2:virtual ~${1:$(yas/substr yas-text "[^: ]*")}();}
${1:$(yas-c++-class-name yas-text)}();
${2:virtual ~${1:$(yas-c++-class-name yas-text)}();}
};
$0