Author Topic: Code review: = delete; in code  (Read 3163 times)

0 Members and 1 Guest are viewing this topic.

Offline hydrogen fluoride

Code review: = delete; in code
« on: 28 07 2022, 06:54:38 »
I found "= delete;" strings. "Delete" is reserved word. I know practice:
Code: [Select]
Delete oVar;. I did not find information about "= delete;" practice. My IDE reports errors to "ovverride" but "= delete;" was there too. That is all looks like replace "= delete;" is needed.
 

Offline ghazan

Re: Code review: = delete; in code
« Reply #1 on: 28 07 2022, 14:08:23 »
1. Miranda's sources has no "Delete oVar;" code fragment
2. Why should we care about warnings in your IDE?..