adeharo9 / cpp-dotenv

Loads environment variables from .env files for C++ projects.
BSD 3-Clause "New" or "Revised" License
89 stars 21 forks source link

Add inline to objects in dotenv.h to prevent multiple definition erro… #16

Closed gwint closed 4 years ago

gwint commented 4 years ago

…rs during linking

adeharo9 commented 4 years ago

Absolutely right, didn't think about it at the time.

However, this makes the code C++17-specific, so please update the corresponding CMAKE_CXX_STANDARD variable on the CMakeLists.txt file from 11 to 17 and add the commit to the pull request before I merge.