Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
localize_for_ppk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangdawei
localize_for_ppk
Commits
ceb29187
Commit
ceb29187
authored
Jun 29, 2023
by
wangdawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
read stream
parent
d4b05bfb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
adjust_ppk.cpp
libs/locate_system/adjust_ppk_by_locate/adjust_ppk.cpp
+6
-2
No files found.
libs/locate_system/adjust_ppk_by_locate/adjust_ppk.cpp
View file @
ceb29187
...
@@ -232,8 +232,12 @@ void AdjustPPK::LoadMapInfo()
...
@@ -232,8 +232,12 @@ void AdjustPPK::LoadMapInfo()
directory_iterator
stream_end_iter
;
directory_iterator
stream_end_iter
;
for
(;
stream_iter
!=
stream_end_iter
;
stream_iter
++
)
{
for
(;
stream_iter
!=
stream_end_iter
;
stream_iter
++
)
{
auto
fileName
=
stream_iter
->
path
().
stem
().
string
();
auto
fileName
=
stream_iter
->
path
().
stem
().
string
();
LOG
(
INFO
)
<<
" fileName: "
<<
fileName
;
ulong
meshId
;
ulong
meshId
=
stoi
(
fileName
);
try
{
meshId
=
stoi
(
fileName
);
}
catch
(
exception
&
e
)
{
continue
;
}
if
(
meshVec_
.
find
(
meshId
)
==
meshVec_
.
end
()){
if
(
meshVec_
.
find
(
meshId
)
==
meshVec_
.
end
()){
MashMap
meshMap
;
MashMap
meshMap
;
meshVec_
.
insert
(
make_pair
(
meshId
,
meshMap
));
meshVec_
.
insert
(
make_pair
(
meshId
,
meshMap
));
...
...
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