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
35d7044c
Commit
35d7044c
authored
13 years ago
by
Adam Wardynski
Browse files
Options
Downloads
Patches
Plain Diff
Return ptr<const M> not ptr<const M>&
parent
73a30ea5
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libwccl/values/matchvector.cpp
+1
-1
1 addition, 1 deletion
libwccl/values/matchvector.cpp
with
1 addition
and
1 deletion
libwccl/values/matchvector.cpp
+
1
−
1
View file @
35d7044c
...
...
@@ -89,7 +89,7 @@ void MatchVector::append(const boost::shared_ptr<MatchData> &m)
matches_
.
push_back
(
boost
::
shared_ptr
<
Match
>
(
new
Match
(
m
)));
}
const
boost
::
shared_ptr
<
const
Match
>
&
MatchVector
::
submatch
(
size_t
idx
)
const
{
const
boost
::
shared_ptr
<
const
Match
>
MatchVector
::
submatch
(
size_t
idx
)
const
{
if
(
idx
+
1
<
matches_
.
size
()
||
idx
==
0
)
{
return
matches_
[
idx
-
1
];
}
else
{
...
...
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