[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_;
};
- [lmi-commits] [lmi] master updated (a9bcf09 -> d30e9b1), Greg Chicares, 2019/06/12
- [lmi-commits] [lmi] master b6c5d13 6/9: Improve const correctness,
Greg Chicares <=
- [lmi-commits] [lmi] master 1f1adcf 8/9: Prefer std::array to std::vector when size is fixed, Greg Chicares, 2019/06/12
- [lmi-commits] [lmi] master 9ffdf78 4/9: Add const accessors to class database_index, Greg Chicares, 2019/06/12
- [lmi-commits] [lmi] master 7b5da91 5/9: Use database_index const accessors, Greg Chicares, 2019/06/12
- [lmi-commits] [lmi] master fad3d61 1/9: Use forward declarations to improve physical design, Greg Chicares, 2019/06/12
- [lmi-commits] [lmi] master 89c8cc5 2/9: Use forward declarations to improve physical design, Greg Chicares, 2019/06/12
- [lmi-commits] [lmi] master d30e9b1 9/9: Make {{ContractNameCap}} available for all formats, Greg Chicares, 2019/06/12
- [lmi-commits] [lmi] master a8298c9 3/9: Improve list of handy commands, Greg Chicares, 2019/06/12
- [lmi-commits] [lmi] master 8862ffc 7/9: Improve const correctness, Greg Chicares, 2019/06/12