Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
djinni
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
djinni
Commits
348e804b
Commit
348e804b
authored
Jan 31, 2017
by
Andrew Twyman
Committed by
GitHub
Jan 31, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #296 from alexcohn/alexcohn-fix-294
fixing error from clang (issue #294)
parents
1d74e310
715c6205
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
support-lib/jni/djinni_support.cpp
support-lib/jni/djinni_support.cpp
+1
-1
No files found.
support-lib/jni/djinni_support.cpp
View file @
348e804b
...
@@ -482,7 +482,7 @@ std::string jniUTF8FromString(JNIEnv * env, const jstring jstr) {
...
@@ -482,7 +482,7 @@ std::string jniUTF8FromString(JNIEnv * env, const jstring jstr) {
}
}
template
<
int
wcharTypeSize
>
template
<
int
wcharTypeSize
>
static
std
::
wstring
implUTF16ToWString
(
const
char16_t
*
data
,
size_t
length
)
static
std
::
wstring
implUTF16ToWString
(
const
char16_t
*
/*data*/
,
size_t
/*length*/
)
{
{
static_assert
(
wcharTypeSize
==
2
||
wcharTypeSize
==
4
,
"wchar_t must be represented by UTF-16 or UTF-32 encoding"
);
static_assert
(
wcharTypeSize
==
2
||
wcharTypeSize
==
4
,
"wchar_t must be represented by UTF-16 or UTF-32 encoding"
);
return
{};
// unreachable
return
{};
// unreachable
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment