aboutsummaryrefslogtreecommitdiff
path: root/args.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'args.hxx')
-rw-r--r--args.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/args.hxx b/args.hxx
index 59145ef..536b305 100644
--- a/args.hxx
+++ b/args.hxx
@@ -27,7 +27,7 @@
#include <string>
#include <tuple>
#include <vector>
-#include <cstdlib>
+#include <unordered_set>
namespace args
{
@@ -150,8 +150,8 @@ namespace args
class Matcher
{
private:
- const std::vector<char> shortOpts;
- const std::vector<std::string> longOpts;
+ const std::unordered_set<char> shortOpts;
+ const std::unordered_set<std::string> longOpts;
public:
// Specify short and long opts separately as iterators