Skip to content

Commit 4452a7b

Browse files
committed
Fix Processing.cpp namespace ambiguity on macOS clang (::std:: qualifiers)
1 parent b357a27 commit 4452a7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Processing.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2934,7 +2934,7 @@ static void cursor_pos_cb(GLFWwindow*, double x, double y) {
29342934
p->pmouseY = p->mouseY;
29352935
p->mouseX = (float)x;
29362936
p->mouseY = (float)y;
2937-
{ auto [sh,ct,al,me] = std::make_tuple(
2937+
{ auto [sh,ct,al,me] = ::std::make_tuple(
29382938
(p->g_currentMods&GLFW_MOD_SHIFT)!=0,
29392939
(p->g_currentMods&GLFW_MOD_CONTROL)!=0,
29402940
(p->g_currentMods&GLFW_MOD_ALT)!=0,
@@ -3113,7 +3113,7 @@ static int glfw_to_processing_keycode(int k) {
31133113
}
31143114

31153115
// Scancode-based press tracking for Bug B (GLFW #2417 Windows virtual key mismatch)
3116-
static std::unordered_set<int> s_pressedScancodes;
3116+
static ::std::unordered_set<int> s_pressedScancodes;
31173117

31183118
// Translate GLFW key to Processing key/keyCode atomically
31193119
static void translate_glfw_key(int k, char16_t* outKey, int* outKeyCode) {

0 commit comments

Comments
 (0)