mirror of
https://github.com/pantor/inja.git
synced 2026-05-04 20:35:22 +00:00
17175f70da
There is an inline function that assumes the compiler has copy elision optimization which is actually not required until C++17. GCC 4.8 does it but it requires the copy constructor to be defined which is not the case for std::ifstream. Fixed by passing reference by parameter. Co-authored-by: Rafael Lorenzo Alonso <ralorenz@cisco.com>