lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 9577e91 3/4: Adjust whitespace


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 9577e91 3/4: Adjust whitespace
Date: Wed, 1 Feb 2017 12:43:14 +0000 (UTC)

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

    Adjust whitespace
---
 input_sequence.cpp |   24 ++++--------------------
 1 file changed, 4 insertions(+), 20 deletions(-)

diff --git a/input_sequence.cpp b/input_sequence.cpp
index 2ffe4dd..95bda62 100644
--- a/input_sequence.cpp
+++ b/input_sequence.cpp
@@ -135,11 +135,7 @@ InputSequence::InputSequence(std::vector<double> const& v)
 {
     ValueInterval dummy;
 
-    double prior_value =
-        v.empty()
-        ? 0.0
-        : v.front()
-        ;
+    double prior_value = v.empty() ? 0.0 : v.front();
     double current_value = prior_value;
 
     intervals.push_back(dummy);
@@ -172,11 +168,7 @@ InputSequence::InputSequence(std::vector<std::string> 
const& v)
     ValueInterval dummy;
     dummy.value_is_keyword = true;
 
-    std::string prior_value =
-        v.empty()
-        ? std::string()
-        : v.front()
-        ;
+    std::string prior_value = v.empty() ? std::string() : v.front();
     std::string current_value = prior_value;
 
     intervals.push_back(dummy);
@@ -219,18 +211,10 @@ InputSequence::InputSequence
 
     ValueInterval dummy;
 
-    double n_prior_value =
-        n_v.empty()
-        ? 0.0
-        : n_v.front()
-        ;
+    double n_prior_value = n_v.empty() ? 0.0 : n_v.front();
     double n_current_value = n_prior_value;
 
-    std::string s_prior_value =
-        s_v.empty()
-        ? std::string()
-        : s_v.front()
-        ;
+    std::string s_prior_value = s_v.empty() ? std::string() : s_v.front();
     std::string s_current_value = s_prior_value;
 
     intervals.push_back(dummy);



reply via email to

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