Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
40056899
Commit
40056899
authored
13 years ago
by
Adam Wardynski
Browse files
Options
Downloads
Patches
Plain Diff
No need for some methods to be virtual.
parent
7c60c9cb
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libwccl/values/match.h
+3
-3
3 additions, 3 deletions
libwccl/values/match.h
with
3 additions
and
3 deletions
libwccl/values/match.h
+
3
−
3
View file @
40056899
...
...
@@ -71,7 +71,7 @@ public:
* Check if the match is empty (matches nothing). Match objects themselves
* are by definition empty, child classes are sometimes or always non-empty.
*/
virtual
bool
empty
()
const
{
bool
empty
()
const
{
return
match_
->
empty
();
}
...
...
@@ -79,7 +79,7 @@ public:
* Getter for the first token matched. If the match is empty, must return
* Nowhere.
*/
virtual
Position
first_token
(
const
boost
::
shared_ptr
<
Corpus2
::
AnnotatedSentence
>&
s
)
const
{
Position
first_token
(
const
boost
::
shared_ptr
<
Corpus2
::
AnnotatedSentence
>&
s
)
const
{
return
match_
->
first_token
(
s
);
}
...
...
@@ -87,7 +87,7 @@ public:
* Getter for the last token matched. If the match is empty, must return
* Nowhere.
*/
virtual
Position
last_token
(
const
boost
::
shared_ptr
<
Corpus2
::
AnnotatedSentence
>&
s
)
const
{
Position
last_token
(
const
boost
::
shared_ptr
<
Corpus2
::
AnnotatedSentence
>&
s
)
const
{
return
match_
->
last_token
(
s
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment