Browse Source

doc: fixed missing prefix "L" (#622)

Alex Perry 5 years ago
parent
commit
52cade9267
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/md/core.md

+ 1 - 1
docs/md/core.md

@@ -174,7 +174,7 @@ In this case, the user defined literal to use to create hashed strings on the
 fly is `_hws`:
 
 ```cpp
-constexpr auto str = "text"_hws;
+constexpr auto str = L"text"_hws;
 ```
 
 Note that the hash type of the `hashed_wstring` is the same of its counterpart.