summaryrefslogtreecommitdiffstats
path: root/recipes-sato/rxvt-unicode/rxvt-unicode/0001-libptytty-Correct-a-typo-to-make-it-build-with-C-11.patch
blob: 408d6a02a03290f1da5043f133f621524eb638ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From a92a8b8e7a197a112f41e41ccac77541fd887eb9 Mon Sep 17 00:00:00 2001
From: Peter Kjellerstedt <pkj@axis.com>
Date: Thu, 26 Apr 2018 01:25:06 +0200
Subject: [PATCH] libptytty: Correct a typo to make it build with C++11

Upstream-Status: Backport
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
 libptytty/src/estl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libptytty/src/estl.h b/libptytty/src/estl.h
index 9552238..4e47392 100644
--- a/libptytty/src/estl.h
+++ b/libptytty/src/estl.h
@@ -67,7 +67,7 @@ private:
   {
     #if __cplusplus >= 201103L
       return std::is_trivially_assignable<T, T>::value
-          && std::is_trivially_constructable<T>::value
+          && std::is_trivially_constructible<T>::value
           && std::is_trivially_copyable<T>::value
           && std::is_trivially_destructible<T>::value;
     #elif ECB_GCC_VERSION(4,4)