better-cpp-syntax icon indicating copy to clipboard operation
better-cpp-syntax copied to clipboard

Inconsistent syntax for deleted function

Open a5066987 opened this issue 4 years ago • 0 comments

Checklist

  • [x] This problem exists even with the setting "C_Cpp.enhancedColorization": "Disabled"
  • [ ] This bug exists for C
  • [x] This bug exists for C++
  • [ ] This bug exists for Objective-C
  • [ ] This bug exists for Objective-C++

The code with a problem is:

class MemTable{
public:
  MemTable(const MemTable&) = delete;
  MemTable& operator=(const MemTable&) = delete;
};

It looks like:

image image

It should look like:

I think these two "delete" should be identical.

a5066987 avatar Aug 22 '20 07:08 a5066987