Enable more warnings for Clang 6
[alexxy/gromacs.git] / src / gromacs / selection / sm_position.cpp
index d1b1f457b16b41058ab67121eb2c0279f7d35dba..6d28630cc10696016ade2fd34ff9d1158abe4e31 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2009,2010,2011,2012,2013,2014,2015,2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 2009,2010,2011,2012,2013,2014,2015,2016,2017,2018, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -253,7 +253,7 @@ static void set_pos_method_flags(gmx_ana_selmethod_t *method,
     {
         case gmx::PositionCalculationCollection::RequiredTopologyInfo::TopologyAndMasses:
             method->flags |= SMETH_REQMASS;
-        // fallthrough
+            [[fallthrough]];
         case gmx::PositionCalculationCollection::RequiredTopologyInfo::Topology:
             method->flags |= SMETH_REQTOP;
             break;