modernize: Pass arguments by value and move in constructors
[quassel.git] / src / core / coreeventmanager.h
index c637aa6..90c3838 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2015 by the Quassel Project                        *
+ *   Copyright (C) 2005-2018 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -36,7 +36,7 @@ public:
     {}
 
 protected:
-    inline Network *networkById(NetworkId id) const { return _coreSession->network(id); }
+    inline Network *networkById(NetworkId id) const override { return _coreSession->network(id); }
 
 private:
     CoreSession *_coreSession;