Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lbry
lbrycrd
Commits
9dee2eee
Commit
9dee2eee
authored
Sep 30, 2019
by
Brannon King
Browse files
windows compilation fix round 2
parent
78547174
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/prefixtrie.cpp
View file @
9dee2eee
...
...
@@ -29,7 +29,8 @@ static managed_mapped_file::segment_manager* segmentManager()
{
fs
::
remove
(
file
);
auto
size
=
(
uint64_t
)
g_memfileSize
*
1024ULL
*
1024ULL
*
1024ULL
;
menaged_file
.
reset
(
new
managed_mapped_file
(
bip
::
create_only
,
file
.
c_str
(),
size
));
// using string() to remove w_char filename encoding on Windows
menaged_file
.
reset
(
new
managed_mapped_file
(
bip
::
create_only
,
file
.
string
().
c_str
(),
size
));
}
~
CSharedMemoryFile
()
{
...
...
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