lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master b6c5d13 6/9: Improve const correctness


From: Greg Chicares
Subject: [lmi-commits] [lmi] master b6c5d13 6/9: Improve const correctness
Date: Wed, 12 Jun 2019 12:53:00 -0400 (EDT)

branch: master
commit b6c5d13fad05d6be26e65cc5661e5c940c28515c
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Improve const correctness
---
 database.hpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/database.hpp b/database.hpp
index c2e6cef..5376909 100644
--- a/database.hpp
+++ b/database.hpp
@@ -97,9 +97,9 @@ class LMI_SO product_database final
     DBDictionary const& db() const;
     database_entity const& entity_from_key(e_database_key) const;
 
-    database_index  index_;
-    int             length_;
-    int             maturity_age_;
+    database_index const index_;
+    int                  length_;
+    int                  maturity_age_;
 
     std::shared_ptr<DBDictionary> db_;
 };



reply via email to

[Prev in Thread] Current Thread [Next in Thread]