From 6c7b08cbe347dc471b007e0cb6ee258a067ea323 Mon Sep 17 00:00:00 2001 From: Dominic Cupo Date: Mon, 5 Jun 2017 11:45:25 -0400 Subject: [PATCH] Added inline to check_required This alleviated an issue I had where during compilation, check_required was defined multiple times --- include/cxxopts.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 0d37e33..e08f46a 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -858,6 +858,7 @@ namespace cxxopts }; // A helper function for setting required arguments + inline void check_required (