summaryrefslogtreecommitdiff
path: root/devel/cxxtools/files/patch-include_cxxtools_char.h
blob: b08ef6fda37939945ae65937407af1f736dc39fc (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
26
27
28
29
30
31
32
Obtained from:

	https://github.com/maekitalo/cxxtools/commit/645dedf575da32198ac815655e5c6e5cd5cc4461

--- include/cxxtools/char.h.orig	2014-01-17 19:05:09 UTC
+++ include/cxxtools/char.h
@@ -72,23 +72,8 @@ namespace cxxtools
             : _value(0)
             {}
 
-            //! Constructs a character using the given char as base for the character value.
-            Char(char ch)
-            : _value(value_type(static_cast<unsigned char>(ch)))
-            {}
-
-            //! Constructs a character using the given char as base for the character value.
-            Char(unsigned char ch)
-            : _value( value_type(ch) )
-            {}
-
-            //! Constructs a character using the given char as base for the character value.
-            Char(wchar_t ch)
-            : _value( value_type(static_cast<uint16_t>(ch)) )
-            {}
-
-            //! Constructs a character using the given unsigned 32-bit as base for the character value.
-            explicit Char(value_type ch)
+            //! Constructs a character using the given value as base for the character value.
+            Char(value_type ch)
             : _value(ch)
             {}