summaryrefslogtreecommitdiffstats
path: root/libdimension/progress-impl.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-08-08 21:44:23 -0600
committerTavian Barnes <tavianator@gmail.com>2011-08-08 21:44:23 -0600
commitd8a599acb5150d28473c443baca293a87a9fdad0 (patch)
tree7c501f624d5ea02f31fb689a1deae8d2f129e710 /libdimension/progress-impl.h
parent054631fe16ae43e029733314d2cc2b9070b33823 (diff)
downloaddimension-d8a599acb5150d28473c443baca293a87a9fdad0.tar.xz
Make min_wait less hacky.
I wish C had the `mutable' keyword.
Diffstat (limited to 'libdimension/progress-impl.h')
-rw-r--r--libdimension/progress-impl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libdimension/progress-impl.h b/libdimension/progress-impl.h
index 973c161..6c10ff8 100644
--- a/libdimension/progress-impl.h
+++ b/libdimension/progress-impl.h
@@ -51,6 +51,5 @@ struct dmnsn_progress {
pthread_mutex_t *mutex;
/* Minimum waited-on value */
- volatile double min_wait;
- volatile double *min_waitp; /* Hack for const values */
+ double *min_wait;
};