matchit.cpp icon indicating copy to clipboard operation
matchit.cpp copied to clipboard

gcc build bug fix

Open brinkqiang opened this issue 1 year ago • 2 comments

unique_ptr and make_shared need

#include <memory>

brinkqiang avatar Dec 03 '24 07:12 brinkqiang

@brinkqiang could you help create an pull request? I guess the fix is for some samples?

BowenFu avatar Dec 03 '24 12:12 BowenFu

@brinkqiang could you help create an pull request? I guess the fix is for some samples?

I am lazy, so I just added #include to matchit.h since memory is quite commonly used.

brinkqiang avatar Dec 06 '24 00:12 brinkqiang