[gnote/wip/hadess/build-failures: 5/7] Fix AbstractAddin compilation error
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/wip/hadess/build-failures: 5/7] Fix AbstractAddin compilation error
- Date: Fri, 2 Apr 2021 09:11:28 +0000 (UTC)
commit 12ea8a1b8741614f0c2fb375f4a531fb3deff8bb
Author: Bastien Nocera <hadess hadess net>
Date: Mon Mar 22 15:04:01 2021 +0100
Fix AbstractAddin compilation error
gnote/src/abstractaddin.cpp: In constructor ‘gnote::AbstractAddin::AbstractAddin()’:
gnote/src/abstractaddin.cpp:29:15: error: ‘NULL’ was not declared in this scope
29 | : m_gnote(NULL)
| ^~~~
gnote/src/abstractaddin.cpp:25:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to
‘#include <cstddef>’?
24 | #include "abstractaddin.hpp"
+++ |+#include <cstddef>
25 |
src/abstractaddin.cpp | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/abstractaddin.cpp b/src/abstractaddin.cpp
index 764b5bde..209dddfb 100644
--- a/src/abstractaddin.cpp
+++ b/src/abstractaddin.cpp
@@ -22,6 +22,7 @@
#include "abstractaddin.hpp"
+#include <cstddef>
namespace gnote {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]