From 3d2e333b15e2e0807b49288bee0eaa78f52bc41b Mon Sep 17 00:00:00 2001 From: Addy Date: Thu, 14 Dec 2017 09:02:39 -0500 Subject: [PATCH] =?UTF-8?q?fixed=20=E2=80=9Cpossible=20loss=20of=20data?= =?UTF-8?q?=E2=80=9D=20warning=20on=20Visual=20Studio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/cxxopts.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 2f2fa35..c03539e 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -1080,7 +1080,7 @@ namespace cxxopts std::vector, int&, char**&); - int + size_t count(const std::string& o) const { auto iter = m_options.find(o);