about summary refs log tree commit diff
path: root/src/libexpr/primops.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-01-17T10·53+0100
committerEelco Dolstra <edolstra@gmail.com>2018-01-17T10·53+0100
commitd8b4cfad823524338f87a681b8790b8dbd3a7a1b (patch)
treed56e457f663c01e3f941268c2a26c9c5847afbca /src/libexpr/primops.cc
parent6ddfe9a999027f9867bbf61ae92c19c591c89a86 (diff)
Typo
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 0ec035b862..e90a1da25e 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -39,7 +39,7 @@ std::pair<string, string> decodeContext(const string & s)
         size_t index = s.find("!", 1);
         return std::pair<string, string>(string(s, index + 1), string(s, 1, index - 1));
     } else
-        return std::pair<string, string>(s.at(0) == '/' ? s: string(s, 1), "");
+        return std::pair<string, string>(s.at(0) == '/' ? s : string(s, 1), "");
 }