diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2021-05-14 10:36:29 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2021-05-14 10:36:29 -0400 |
commit | 1eeb4c85a120b23b853aabb8e6cf984b03dbc17f (patch) | |
tree | a06afabe8c4f7067a4e2604adcd83a3c29d091f7 /indra/llprimitive/llmediaentry.h | |
parent | d3d8203be4aec8ad90c0044e3a0ade1d91df64ea (diff) |
SL-15258: No 'using namespace std' with Windows SDK
With /std:c++17, in wbemcli.h included by <Wbemidl.h>, we were getting errors
concerning an ambiguous symbol 'byte'. This turns out to be due to a 'using
namespace std' declaration before the #include. The linked workaround advises
moving 'using namespace std' after the #include. But since the ONLY symbol
from std that was used without qualification was 'hex' in a few places, remove
'using namespace std' altogether and just write 'std::hex' everywhere.
https://developercommunity.visualstudio.com/t/error-c2872-byte-ambiguous-symbol/93889#T-N138537
Diffstat (limited to 'indra/llprimitive/llmediaentry.h')
0 files changed, 0 insertions, 0 deletions