GuessLanguage: Delete copy constructor and assignment operator
ClosedPublic

Authored by aacid on Wed, Jan 9, 9:41 PM.

Details

Summary

If someone was using them, it'd crash since it was raw-copying the d pointer
so you would end up with a double delete.

This is SIC, but IMHO it's fine, whoever gets a compiler failure has a bug to fix

Diff Detail

Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 6881
Build 6899: arc lint + arc unit
aacid requested review of this revision.Wed, Jan 9, 9:41 PM
aacid created this revision.
vkrause accepted this revision.Thu, Jan 10, 7:41 PM
This revision is now accepted and ready to land.Thu, Jan 10, 7:41 PM
aacid closed this revision.Thu, Jan 10, 7:46 PM