Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
old_macaon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Franck Dary
old_macaon
Commits
dd1c5a40
Commit
dd1c5a40
authored
5 years ago
by
Franck Dary
Browse files
Options
Downloads
Patches
Plain Diff
Ignored compiler warning
parent
d92e5f0f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
transition_machine/src/ActionBank.cpp
+3
-0
3 additions, 0 deletions
transition_machine/src/ActionBank.cpp
with
3 additions
and
0 deletions
transition_machine/src/ActionBank.cpp
+
3
−
0
View file @
dd1c5a40
...
@@ -1147,7 +1147,10 @@ void ActionBank::removeCharFromBuffer(Config & config, const std::string & tapeN
...
@@ -1147,7 +1147,10 @@ void ActionBank::removeCharFromBuffer(Config & config, const std::string & tapeN
std
::
string
suffix
=
std
::
string
(
config
.
rawInput
.
begin
()
+
config
.
rawInputHeadIndex
,
config
.
rawInput
.
begin
()
+
config
.
rawInputHeadIndex
+
util
::
getEndIndexOfNthSymbolFrom
(
config
.
rawInput
.
begin
()
+
config
.
rawInputHeadIndex
,
config
.
rawInput
.
end
(),
0
));
std
::
string
suffix
=
std
::
string
(
config
.
rawInput
.
begin
()
+
config
.
rawInputHeadIndex
,
config
.
rawInput
.
begin
()
+
config
.
rawInputHeadIndex
+
util
::
getEndIndexOfNthSymbolFrom
(
config
.
rawInput
.
begin
()
+
config
.
rawInputHeadIndex
,
config
.
rawInput
.
end
(),
0
));
for
(
char
c
:
suffix
)
for
(
char
c
:
suffix
)
{
(
void
)
c
;
from
.
pop_back
();
from
.
pop_back
();
}
tape
.
setHyp
(
relativeIndex
,
from
);
tape
.
setHyp
(
relativeIndex
,
from
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment