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
a2a52e24
Commit
a2a52e24
authored
Aug 04, 2016
by
Andrew Twyman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comment explaining workaround.
parent
7357cca6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
support-lib/jni/djinni_support.cpp
support-lib/jni/djinni_support.cpp
+2
-0
No files found.
support-lib/jni/djinni_support.cpp
View file @
a2a52e24
...
...
@@ -398,6 +398,8 @@ inline std::u16string wstringToUTF16(const std::wstring & str) {
// hide "defined but not used" warnings
(
void
)
implWStringToUTF16
<
2
>
;
(
void
)
implWStringToUTF16
<
4
>
;
// Note: The template helper operates on iterators to work around a compiler issue we saw on Mac.
// It triggered undefined symbols if wstring methods were called directly in the template function.
return
implWStringToUTF16
<
sizeof
(
wchar_t
)
>
(
str
.
cbegin
(),
str
.
cend
());
}
...
...
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