Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fmt_converter
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
xuebingbing
fmt_converter
Commits
33df3537
Commit
33df3537
authored
Jan 08, 2021
by
xuebingbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix gnu编译器警告
parent
31e7cd43
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
main.cpp
src/jfhdconvertor/main.cpp
+3
-3
No files found.
src/jfhdconvertor/main.cpp
View file @
33df3537
...
@@ -504,7 +504,7 @@ int pcd2lasByStationFiles(const cxxopts::ParseResult& argsresult)
...
@@ -504,7 +504,7 @@ int pcd2lasByStationFiles(const cxxopts::ParseResult& argsresult)
//("jd_station_file", "JD 站心和校正,必须包含E0_UTM_JD:* N0_UTM_JD:* H0_UTM_JD:* 三对UTM 站心(偏移)信息, 可包含E_OFFSET:* N_OFFSET:* H_OFFSET:* 的校正信息", cxxopts::value<std::string>());
//("jd_station_file", "JD 站心和校正,必须包含E0_UTM_JD:* N0_UTM_JD:* H0_UTM_JD:* 三对UTM 站心(偏移)信息, 可包含E_OFFSET:* N_OFFSET:* H_OFFSET:* 的校正信息", cxxopts::value<std::string>());
boost
::
system
::
error_code
sys_err_code
;
boost
::
system
::
error_code
sys_err_code
;
if
(
argsresult
.
count
(
"jf_station_file"
)
<
0
)
if
(
argsresult
.
count
(
"jf_station_file"
)
<
1
)
{
{
std
::
cout
<<
"ERROR: "
<<
currentmode
<<
" 未指定觉非站心文件"
<<
std
::
endl
;
std
::
cout
<<
"ERROR: "
<<
currentmode
<<
" 未指定觉非站心文件"
<<
std
::
endl
;
return
-
1
;
return
-
1
;
...
@@ -527,7 +527,7 @@ int pcd2lasByStationFiles(const cxxopts::ParseResult& argsresult)
...
@@ -527,7 +527,7 @@ int pcd2lasByStationFiles(const cxxopts::ParseResult& argsresult)
return
-
1
;
return
-
1
;
}
}
if
(
argsresult
.
count
(
"jd_station_file"
)
<
0
)
if
(
argsresult
.
count
(
"jd_station_file"
)
<
1
)
{
{
std
::
cout
<<
"ERROR: "
<<
currentmode
<<
" 未指定京东站心文件"
<<
std
::
endl
;
std
::
cout
<<
"ERROR: "
<<
currentmode
<<
" 未指定京东站心文件"
<<
std
::
endl
;
return
-
1
;
return
-
1
;
...
@@ -555,7 +555,7 @@ int pcd2lasByStationFiles(const cxxopts::ParseResult& argsresult)
...
@@ -555,7 +555,7 @@ int pcd2lasByStationFiles(const cxxopts::ParseResult& argsresult)
}
}
temp
=
argsresult
[
"lasfile"
].
as
<
std
::
string
>
();
temp
=
argsresult
[
"lasfile"
].
as
<
std
::
string
>
();
if
(
argsresult
.
count
(
"lasfile"
)
<
0
)
if
(
argsresult
.
count
(
"lasfile"
)
<
1
)
{
{
std
::
cout
<<
"ERROR: "
<<
currentmode
<<
" 未指定输入las文件"
<<
std
::
endl
;
std
::
cout
<<
"ERROR: "
<<
currentmode
<<
" 未指定输入las文件"
<<
std
::
endl
;
return
-
1
;
return
-
1
;
...
...
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