From feef057fc074896d2b398b863ae8a09aef55ac1a Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Sat, 22 Feb 2020 19:54:41 +0100
Subject: [PATCH] Fix unused capture warning

---
 .travis.yml                      | 2 +-
 lib/structs/user_interactive.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 9bd344af1..3d5436029 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,7 +14,7 @@ notifications:
 matrix:
   include:
     - os: osx
-      osx_image: xcode11.3 #xcode10.2 # for c++17
+      osx_image: xcode10.2 # for c++17
       compiler: clang
       addons:
         homebrew:
diff --git a/lib/structs/user_interactive.cpp b/lib/structs/user_interactive.cpp
index 17df7770c..0d178d01c 100644
--- a/lib/structs/user_interactive.cpp
+++ b/lib/structs/user_interactive.cpp
@@ -118,7 +118,7 @@ to_json(nlohmann::json &obj, const Auth &auth)
                      [&obj](const auth::OAuth2 &) { obj["type"] = auth_types::oauth2; },
                      [&obj](const auth::Terms &) { obj["type"] = auth_types::terms; },
                      [&obj](const auth::Dummy &) { obj["type"] = auth_types::dummy; },
-                     [&obj](const auth::Fallback &) {},
+                     [](const auth::Fallback &) {},
                    },
                    auth.content);
 }
-- 
GitLab