[pan2: 59/68] Make max cache size const since it effectivley is.



commit e6f65bfba746a90298ec166eb42dbbb99758028e
Author: K. Haley <haleykd users sf net>
Date:   Sun Sep 5 16:09:49 2010 -0600

    Make max cache size const since it effectivley is.

 pan/data/article-cache.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pan/data/article-cache.h b/pan/data/article-cache.h
index 01d5a2c..6780fad 100644
--- a/pan/data/article-cache.h
+++ b/pan/data/article-cache.h
@@ -109,7 +109,7 @@ namespace pan
       };
 
       std::string _path;
-      size_t _max_megs;
+      const size_t _max_megs;
       guint64 _current_bytes;
 
       typedef std::set<Listener*> listeners_t;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]