Skip to content

Commit

Permalink
Disable deprecation warnings for DxErr code.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Dec 6, 2015
1 parent 44a7046 commit d0b5e12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/xrCore/Debug/DXGetErrorDescription.inl
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// XXX: don't use strcpy_s/wcscpy_s functions
#pragma warning(push)
#pragma warning(disable:4995) // strcpy_s marked as deprecated
if ( !count )
return;

Expand Down Expand Up @@ -444,3 +447,4 @@ switch (hr)
// -------------------------------------------------------------
CHK_ERR(XAPO_E_FORMAT_UNSUPPORTED, "Requested audio format unsupported.")
}
#pragma warning(pop)

0 comments on commit d0b5e12

Please sign in to comment.