Skip to content

Commit adb53b8

Browse files
Export math operators
1 parent 8c164ab commit adb53b8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

imgui.cppm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
module;
55

6+
#define IMGUI_DEFINE_MATH_OPERATORS
67
#include "imgui.h"
78

89
export module ImGui;
910

1011
export {
11-
#ifdef IMGUI_DEFINE_MATH_OPERATORS
1212
using ::operator+;
1313
using ::operator-;
1414
using ::operator*;
@@ -19,7 +19,6 @@ export {
1919
using ::operator/=;
2020
using ::operator==;
2121
using ::operator!=;
22-
#endif
2322

2423
// ----- Enums -----
2524

0 commit comments

Comments
 (0)