AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnreferencedParam.h
1
6#pragma once
7
8// taken from http://stackoverflow.com/questions/3020584/avoid-warning-unreferenced-formal-parameter, ugly but avoids having to #include the definition of an unreferenced struct/class
9
10#if defined (_MSC_VER)
11
12 #define AWS_UNREFERENCED_PARAM(x) (&reinterpret_cast<const int &>(x))
13
14#else
15
16 #define AWS_UNREFERENCED_PARAM(x) ((void)(x))
17
18#endif // _MSC_VER