Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
CoMISo
Base
Commits
568ca53b
Commit
568ca53b
authored
Jan 14, 2020
by
Martin Marinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence std::experimental::filesystem deprecation warning in MSVC 2019
parent
e7366fbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Journal/JournalStream.cc
Journal/JournalStream.cc
+4
-2
No files found.
Journal/JournalStream.cc
View file @
568ca53b
// Copyright 20
19
Autodesk, Inc. All rights reserved.
// Copyright 20
20
Autodesk, Inc. All rights reserved.
//
// This computer source code and related instructions and comments are the
// unpublished confidential and proprietary information of Autodesk, Inc.
...
...
@@ -19,8 +19,10 @@
#ifdef JOURNAL_USE_BOOST
#include <boost/filesystem.hpp>
#else // JOURNAL_USE_BOOST
// filesystem uses memcpy() in MSVC, suppress warnings
INSECURE_INCLUDE_SECTION_BEGIN
#include <filesystem> // filesystem uses memcpy() in MSVC, suppress warnings
#define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING
#include <experimental/filesystem>
INSECURE_INCLUDE_SECTION_END
#endif // JOURNAL_USE_BOOST
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment