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
Adam Osuchowski
Kea
Commits
829f6121
Commit
829f6121
authored
Aug 04, 2017
by
Francis Dupont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[5272] Trivial work-around for clang/boost bug
parent
09cd6554
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/hooks/dhcp/lease_cmds/tests/lease_cmds_unittest.cc
src/hooks/dhcp/lease_cmds/tests/lease_cmds_unittest.cc
+3
-1
No files found.
src/hooks/dhcp/lease_cmds/tests/lease_cmds_unittest.cc
View file @
829f6121
...
@@ -226,8 +226,10 @@ public:
...
@@ -226,8 +226,10 @@ public:
///
///
/// Removes library (if any), destroys lease manager (if any).
/// Removes library (if any), destroys lease manager (if any).
virtual
~
LeaseCmdsTest
()
{
virtual
~
LeaseCmdsTest
()
{
unloadLibs
();
// destroys lease manager first because the other order triggers
// a clang/boost bug
LeaseMgrFactory
::
destroy
();
LeaseMgrFactory
::
destroy
();
unloadLibs
();
lmptr_
=
0
;
lmptr_
=
0
;
}
}
...
...
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