Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error #12

Open
wzhou1974 opened this issue Sep 4, 2020 · 1 comment
Open

build error #12

wzhou1974 opened this issue Sep 4, 2020 · 1 comment

Comments

@wzhou1974
Copy link

In file included from /home/walter/workspace/study/asutton-origin-4358f0d/origin/memory/memory.cpp:4:
/home/walter/workspace/study/asutton-origin-4358f0d/origin/memory/memory.hpp: In function ‘void origin::construct(T*, Args&& ...)’:
/home/walter/workspace/study/asutton-origin-4358f0d/origin/memory/memory.hpp:25:46: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
return new(p) T(std::forward(args)...);

@wzhou1974
Copy link
Author

build on Ubuntu 18.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant