Skip to content

Commit f1daede

Browse files
Add typename (#4011)
1 parent 972879f commit f1daede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/dolfinx/common/Timer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class Timer
133133
std::optional<std::string> _task;
134134

135135
// Elapsed time offset
136-
T::duration _acc = T::duration::zero();
136+
typename T::duration _acc = T::duration::zero();
137137

138138
// Store start time (std::nullopt if timer has been stopped)
139139
std::optional<typename T::time_point> _start_time = T::now();

0 commit comments

Comments
 (0)