Skip to content

Instantly share code, notes, and snippets.

@nlguillemot
Created February 24, 2014 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nlguillemot/9183266 to your computer and use it in GitHub Desktop.
Save nlguillemot/9183266 to your computer and use it in GitHub Desktop.
2> parser.cpp
2>C:\cygwin\home\Nicolas\Programming\vklang\src\vk\parser.cpp(273): error C2280: 'std::unique_ptr<vk::TypeExpression,std::default_delete<_Ty>>::unique_ptr(const std::unique_ptr<_Ty,std::default_delete<_Ty>> &)' : attempting to reference a deleted function
2> with
2> [
2> _Ty=vk::TypeExpression
2> ]
2> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\memory(1486) : see declaration of 'std::unique_ptr<vk::TypeExpression,std::default_delete<_Ty>>::unique_ptr'
2> with
2> [
2> _Ty=vk::TypeExpression
2> ]
2> This diagnostic occurred in the compiler generated function 'vk::TypeExpression::TypeExpression(const vk::TypeExpression &)'
@nlguillemot
Copy link
Author

TypeExpression Parser::AcceptTypeExpression()
{
    TypeExpression typeExpression;

    return typeExpression;
} <<<<<<<<<<<<<<< error points to this line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment