aboutsummaryrefslogtreecommitdiffstats
path: root/community/libixion/fix-nullptr_t.patch
blob: d426ca2a825ce54bd284a116e06397ad8ad3a3f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 1992b8ab9c7765b8da06b6054bb3c0ab990c62f7 Mon Sep 17 00:00:00 2001
From: orbea <orbea@riseup.net>
Date: Wed, 28 Oct 2020 08:13:31 -0700
Subject: [PATCH] Fix build with clang.

---
 src/libixion/model_context.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libixion/model_context.cpp b/src/libixion/model_context.cpp
index 0fcbb31..f6eb3cf 100644
--- a/src/libixion/model_context.cpp
+++ b/src/libixion/model_context.cpp
@@ -17,7 +17,7 @@
 
 namespace ixion {
 
-model_context::input_cell::input_cell(nullptr_t) : type(celltype_t::empty) {}
+model_context::input_cell::input_cell(std::nullptr_t) : type(celltype_t::empty) {}
 model_context::input_cell::input_cell(bool b) : type(celltype_t::boolean)
 {
     value.boolean = b;
-- 
GitLab