Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
cfc6301b
Commit
cfc6301b
authored
Sep 09, 2021
by
LEFEBVREJP email
Browse files
Added removal of file path in emitdb rev detection.
parent
b2b04709
Pipeline
#163248
passed with stages
in 19 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
radixio/emitdb.cc
View file @
cfc6301b
...
...
@@ -22,7 +22,7 @@ EmitDb::EmitDb(const EmitDb& orig)
void
XGamDb
::
load
(
const
std
::
string
&
file
,
EmitDb
&
database
)
{
std
::
string
revStr
=
radix
::
split_string
(
"."
,
file
)[
1
];
std
::
string
revStr
=
radix
::
split_string
(
"."
,
radix
::
basename
(
file
)
)
[
1
];
int
revNum
=
std
::
atoi
(
revStr
.
substr
(
revStr
.
size
()
-
1
,
1
).
c_str
());
int
indexThreshold
=
70
,
indexIterator
=
20
;
int
linecount
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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