mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Core: Workaround for VS 2019 bug reverted as MS fixed the issue
git-svn-id: svn://ultimatepp.org/upp/trunk@13047 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
62b8392d4a
commit
9e3eebcbf4
2 changed files with 2 additions and 17 deletions
|
|
@ -1,16 +1,3 @@
|
|||
#ifdef COMPILER_MSC
|
||||
|
||||
template <class Range>
|
||||
using ValueTypeOf = typename std::remove_reference<decltype(*std::remove_reference<Range>::type().begin())>::type;
|
||||
|
||||
template <class Range>
|
||||
using IteratorOf = decltype(((typename std::remove_reference<Range>::type *)0)->begin());
|
||||
|
||||
template <class Range>
|
||||
using ConstIteratorOf = decltype(((const typename std::remove_reference<Range>::type *)0)->begin());
|
||||
|
||||
#else
|
||||
|
||||
template <class Range>
|
||||
using ValueTypeOf = typename std::remove_reference<decltype(*((typename std::remove_reference<Range>::type *)0)->begin())>::type;
|
||||
|
||||
|
|
@ -20,8 +7,6 @@ using IteratorOf = decltype(((typename std::remove_reference<Range>::type *)0)->
|
|||
template <class Range>
|
||||
using ConstIteratorOf = decltype(((const typename std::remove_reference<Range>::type *)0)->begin());
|
||||
|
||||
#endif
|
||||
|
||||
template <class I>
|
||||
class SubRangeClass {
|
||||
I l;
|
||||
|
|
|
|||
|
|
@ -341,8 +341,8 @@ void InstantSetup()
|
|||
bmSet(bm, "RELEASE_FLAGS", "");
|
||||
bmSet(bm, "RELEASE_LINK", "-Wl,--stack,20000000");
|
||||
bmSet(bm, "DEBUGGER", "gdb");
|
||||
bmSet(bm, "ALLOW_PRECOMPILED_HEADERS", "1");
|
||||
bmSet(bm, "DISABLE_BLITZ", "1");
|
||||
bmSet(bm, "ALLOW_PRECOMPILED_HEADERS", "");
|
||||
bmSet(bm, "DISABLE_BLITZ", "");
|
||||
|
||||
// bmSet(bm, "LINKMODE_LOCK", "0");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue