Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Use deleted functions to disallow copying #9

Closed
jwakely opened this Issue · 2 comments

2 participants

Jonathan Wakely François Saint-Jacques
Jonathan Wakely

As a C++11 project it would be better to use deleted copy constructors and copy assignment operators instead of the current DISALLOW_COPY_AND_ASSIGN macro.

Would a patch to change the macro (or just to declare deleted functions directly in the classes) be accepted?

François Saint-Jacques

I would gladly accept a patch.

Jonathan Wakely

Created pull request #14

Jonathan Wakely jwakely closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.