Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Ben Boeckel
SMTK
Commits
51c45fd5
Commit
51c45fd5
authored
Jul 30, 2020
by
T.J. Corona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Publicly inherit from std::enable_shared_from_this
parent
f3556dbd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
smtk/attribute/ItemDefinitionManager.h
smtk/attribute/ItemDefinitionManager.h
+2
-1
smtk/resource/query/Manager.h
smtk/resource/query/Manager.h
+1
-1
No files found.
smtk/attribute/ItemDefinitionManager.h
View file @
51c45fd5
...
...
@@ -50,7 +50,8 @@ namespace attribute
/// Upon registration, attribute resources associated with the same resource
/// manager as the ItemDefinitionManager will be able to read, write and create
/// attributes that contain the newly registered custom items.
class
SMTKCORE_EXPORT
ItemDefinitionManager
:
std
::
enable_shared_from_this
<
ItemDefinitionManager
>
class
SMTKCORE_EXPORT
ItemDefinitionManager
:
public
std
::
enable_shared_from_this
<
ItemDefinitionManager
>
{
public:
smtkTypedefs
(
smtk
::
attribute
::
ItemDefinitionManager
);
...
...
smtk/resource/query/Manager.h
View file @
51c45fd5
...
...
@@ -50,7 +50,7 @@ namespace query
/// Upon registration, all appropriate resources associated with the same
/// resource manager as the smtk::resource::query::Manager will be able to
/// construct instances of the newly registered Query.
class
SMTKCORE_EXPORT
Manager
:
std
::
enable_shared_from_this
<
Manager
>
class
SMTKCORE_EXPORT
Manager
:
public
std
::
enable_shared_from_this
<
Manager
>
{
public:
smtkTypedefs
(
smtk
::
resource
::
query
::
Manager
);
...
...
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