ATLAS Offline Software
Loading...
Searching...
No Matches
unused.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5/* $Id$ */
22
23#ifndef CXXUTILS_UNUSED_H
24#define CXXUTILS_UNUSED_H
25
26
27// Declare that a member is unused, to suppress warnings.
28// Only clang recognizes an unused attribute for a member.
29#ifdef __clang__
30# define ATH_UNUSED_MEMBER(v) v __attribute__((unused))
31#else
32# define ATH_UNUSED_MEMBER(v) v
33#endif
34
35
36#endif /* not CXXUTILS_UNUSED_H */