so that a subtle resource leak doesn't occur

EngLearner

Member
Joined
May 13, 2023
Member Type
Student or Learner
Native Language
Ukrainian
Home Country
Ukraine
Current Location
Ukraine
Always create smart pointers on a separate line of code, never in a parameter list, so that a subtle resource leak won't/doesn't occur due to certain parameter list allocation rules.

The above passage is from this article. "Won't" is used in the original. I wonder if "doesn't" is also correct in this case.
 

Piscean

Senior Member
Joined
Jul 12, 2015
Member Type
Retired English Teacher
Native Language
British English
Home Country
Europe
Current Location
Czech Republic
It's possible.
 
Top