summaryrefslogtreecommitdiff
path: root/lib/sbuild/lock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sbuild/lock.cc')
-rw-r--r--lib/sbuild/lock.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sbuild/lock.cc b/lib/sbuild/lock.cc
index 8eac089c..80f6eeac 100644
--- a/lib/sbuild/lock.cc
+++ b/lib/sbuild/lock.cc
@@ -102,7 +102,7 @@ namespace sbuild
}
void
- lock::set_timer(struct itimerval const& timer)
+ lock::set_timer(const struct itimerval& timer)
{
set_alarm();
@@ -202,7 +202,7 @@ namespace sbuild
unset_timer();
}
- catch (error const& e)
+ catch (const error& e)
{
unset_timer();
throw;