@@ -52,7 +52,7 @@ operator = (const DCNumericRange<NUM> ©) {
5252 * otherwise.
5353 */
5454template <class NUM >
55- bool DCNumericRange<NUM>::
55+ INLINE bool DCNumericRange<NUM>::
5656is_in_range (Number num) const {
5757 if (_ranges.empty ()) {
5858 return true ;
@@ -106,7 +106,7 @@ get_one_value() const {
106106 *
107107 */
108108template <class NUM >
109- void DCNumericRange<NUM>::
109+ INLINE void DCNumericRange<NUM>::
110110generate_hash (HashGenerator &hashgen) const {
111111 if (!_ranges.empty ()) {
112112 hashgen.add_int (_ranges.size ());
@@ -124,7 +124,7 @@ generate_hash(HashGenerator &hashgen) const {
124124 *
125125 */
126126template <class NUM >
127- void DCNumericRange<NUM>::
127+ INLINE void DCNumericRange<NUM>::
128128output (std::ostream &out, Number divisor) const {
129129 if (!_ranges.empty ()) {
130130 typename Ranges::const_iterator ri;
@@ -144,7 +144,7 @@ output(std::ostream &out, Number divisor) const {
144144 * characters.
145145 */
146146template <class NUM >
147- void DCNumericRange<NUM>::
147+ INLINE void DCNumericRange<NUM>::
148148output_char (std::ostream &out, Number divisor) const {
149149 if (divisor != 1 ) {
150150 output (out, divisor);
@@ -179,7 +179,7 @@ clear() {
179179 * minmax overlaps an existing minmax.
180180 */
181181template <class NUM >
182- bool DCNumericRange<NUM>::
182+ INLINE bool DCNumericRange<NUM>::
183183add_range (Number min, Number max) {
184184 // Check for an overlap. This is probably indicative of a typo and should
185185 // be reported.
0 commit comments