diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-01-04 18:39:13 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-01-04 18:39:13 +0100 |
| commit | 4b649d386cb808cfd64a3ebab982d0ecd0813c86 (patch) | |
| tree | ff0d68ad1131e396f83a960088a246b67f1856b1 /src/completion.cc | |
| parent | b5418c94caa8d6842780b72b73f353795b3d07dd (diff) | |
various code style fixes
Diffstat (limited to 'src/completion.cc')
| -rw-r--r-- | src/completion.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/completion.cc b/src/completion.cc index 8ee18aa2..2c7cea11 100644 --- a/src/completion.cc +++ b/src/completion.cc @@ -18,11 +18,11 @@ static boost::regex make_regex_ifp(const String& ex) boost::regex result; if (not ex.empty()) { - try - { - result = boost::regex(ex.c_str()); - } - catch(boost::regex_error&) {} + try + { + result = boost::regex(ex.c_str()); + } + catch(boost::regex_error&) {} } return result; } |
