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
LEFEBVREJP email
radix
Commits
689d327b
Commit
689d327b
authored
Sep 09, 2021
by
LEFEBVREJP email
Browse files
Merge branch 'emitdb-path-issue' into 'master'
emitdb rev detection. See merge request
!125
parents
b2b04709
cfc6301b
Pipeline
#163294
passed with stages
in 18 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
radixio/emitdb.cc
View file @
689d327b
...
...
@@ -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
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