From 4c5e63a8c944c10e7e273c724f5ed48f3f90399e Mon Sep 17 00:00:00 2001
From: Vasileios Karakasis <karakasis@cscs.ch>
Date: Mon, 7 Mar 2016 10:26:35 +0100
Subject: [PATCH] Added forgotten parentheses.

---
 src/swcio.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/swcio.cpp b/src/swcio.cpp
index 129f70af..63eae66d 100644
--- a/src/swcio.cpp
+++ b/src/swcio.cpp
@@ -86,9 +86,10 @@ bool starts_with(const std::string &str, const std::string &prefix)
 
 void check_parse_status(const std::istream &is)
 {
-    if (is.fail())
+    if (is.fail()) {
         // If we try to read past the eof; fail bit will also be set
         throw swc_parse_error("could not parse value");
+    }
 }
 
 template<typename T>
-- 
GitLab