Commit a3a1363b6bb605d2dd041e2691ad17c462819fa7

Authored by Dominic Cupo
Committed by jarro2783
1 parent 34aec8e8

Added inline to check_required (#51)

This alleviated an issue I had where during compilation, check_required was defined multiple times
Showing 1 changed file with 1 additions and 0 deletions
include/cxxopts.hpp
... ... @@ -858,6 +858,7 @@ namespace cxxopts
858 858 };
859 859  
860 860 // A helper function for setting required arguments
  861 + inline
861 862 void
862 863 check_required
863 864 (
... ...