Skip to content
Snippets Groups Projects
Commit 5c77e289 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

SGTools: Fix cppcheck warning.

Annotate throw function as noreturn.
parent b9ffea6f
No related branches found
No related tags found
No related merge requests found
// This file's extension implies that it's C, but it's really -*- C++ -*-. // This file's extension implies that it's C, but it's really -*- C++ -*-.
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/ */
// $Id$ // $Id$
...@@ -64,6 +64,7 @@ private: ...@@ -64,6 +64,7 @@ private:
* @param id CLID of the DataProxy. * @param id CLID of the DataProxy.
* @param tid Type to which we're trying to convert the object. * @param tid Type to which we're trying to convert the object.
*/ */
[[noreturn]]
void throwExcBadDataProxyCast (CLID id, const std::type_info& tid); void throwExcBadDataProxyCast (CLID id, const std::type_info& tid);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment