← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Add missing header

 

Hi,

On 01.03.2017 18:26, Kevin Cozens wrote:

>> +#include <memory>
>> +

> That looks like a typo. I think that should be <memory.h>

No, that is correct.

<memory.h> is a C header that pulls in <string.h>, for memcpy() and friends.

<memory> is a C++ header that defines std::unique_ptr and std::shared_ptr.

   Simon

Attachment: signature.asc
Description: OpenPGP digital signature


References