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
eb8eb669
Commit
eb8eb669
authored
10 years ago
by
Radosław Warzocha
Browse files
Options
Downloads
Patches
Plain Diff
ParsingScope class tagset is held by shared_ptr
parent
bcef63ac
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libwccl/parser/parsingscope.h
+3
-3
3 additions, 3 deletions
libwccl/parser/parsingscope.h
with
3 additions
and
3 deletions
libwccl/parser/parsingscope.h
+
3
−
3
View file @
eb8eb669
...
...
@@ -27,7 +27,7 @@ namespace Wccl {
class
ParsingScope
{
public:
ParsingScope
(
const
Corpus2
::
Tagset
&
tagset
,
const
Lexicons
&
lexicons
)
ParsingScope
(
const
boost
::
shared_ptr
<
const
Corpus2
::
Tagset
>
tagset
,
const
Lexicons
&
lexicons
)
:
tagset_
(
tagset
),
variables_
(
new
Variables
()),
lexicons_
(
lexicons
)
...
...
@@ -41,7 +41,7 @@ public:
{
}
const
Corpus2
::
Tagset
&
tagset
()
const
{
const
boost
::
shared_ptr
<
const
Corpus2
::
Tagset
>
tagset
()
const
{
return
tagset_
;
}
...
...
@@ -61,7 +61,7 @@ public:
variables_
->
reset_values
();
}
private
:
const
Corpus2
::
Tagset
&
tagset_
;
const
boost
::
shared_ptr
<
const
Corpus2
::
Tagset
>
tagset_
;
boost
::
shared_ptr
<
Variables
>
variables_
;
const
Lexicons
&
lexicons_
;
};
...
...
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