Skip to content

Commit 11cd533

Browse files
committed
Fix stdexcept header issues on latest VC
1 parent 63d7a26 commit 11cd533

5 files changed

Lines changed: 4 additions & 2 deletions

File tree

Common.FastVector.ixx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <memory> // For uninitialized_move/copy and std::unique_ptr.
1818
#include <assert.h>
1919
#include <algorithm>
20+
#include <stdexcept>
2021

2122
#if USE_CPP_MODULES
2223
//import std.core;

Common.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include "precomp.h"
55
#include <string>
66
#include <stdint.h>
7+
#include <stdexcept>
78
#include "Common.h"
89

910
#if USE_CPP_MODULES

MainWindow.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ class MainWindow
167167
TextEscapeMode textEscapeMode_ = TextEscapeModeNone;
168168

169169
std::vector<DrawableObjectAndValues> drawableObjects_;
170-
171170
};
172171

173172
DEFINE_ENUM_FLAG_OPERATORS(MainWindow::NeededUiUpdate);

MainWindow.ixx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
todo:::
32
-Custom font fallback
43
-Custom font collection
54
-EDIT/RichEdit

precomp.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@
7575
#include <functional>
7676
#include <map>
7777
#include <array>
78+
#include <clocale>
79+
#include <stdexcept>
7880

7981
//////////////////////////////
8082
// Windows Header Files:

0 commit comments

Comments
 (0)