Update clang-tidy to clang version 8
[alexxy/gromacs.git] / src / gromacs / analysisdata / datamodulemanager.cpp
index c8e34606da7e74be5b641036155978e241852d43..58a4aee2cec76e0aa67c11b280e018fc37200817 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2010,2011,2012,2013,2014,2015,2016,2018, by the GROMACS development team, led by
+ * Copyright (c) 2010,2011,2012,2013,2014,2015,2016,2018,2019, 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.
@@ -284,8 +284,8 @@ AnalysisDataModuleManager::dataPropertyAboutToChange(DataProperty property, bool
 }
 
 void
-AnalysisDataModuleManager::addModule(AbstractAnalysisData      *data,
-                                     AnalysisDataModulePointer  module)
+AnalysisDataModuleManager::addModule(AbstractAnalysisData            *data,
+                                     const AnalysisDataModulePointer &module)
 {
     impl_->checkModuleProperties(*module);
     // TODO: Ensure that the system does not end up in an inconsistent state by