Skip to content

Commit

Permalink
chore: update version
Browse files Browse the repository at this point in the history
  • Loading branch information
ToruNiina committed Jun 19, 2019
1 parent 4a2c823 commit 1bf9e42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ enable_testing()
project(toml11)

set(toml11_VERSION_MAYOR 2)
set(toml11_VERSION_MINOR 3)
set(toml11_VERSION_PATCH 1)
set(toml11_VERSION_MINOR 4)
set(toml11_VERSION_PATCH 0)
set(toml11_VERSION
"${toml11_VERSION_MAYOR}.${toml11_VERSION_MINOR}.${toml11_VERSION_PATCH}"
)
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,10 @@ toml::integer opt = 42;
toml::integer& i = toml::get_or(v, opt); // this works.
```

There is also a function `find_or`, but there is a known issue around overload
resolution. To use it, passing a `toml::value`, not a `toml::table`, is strongly
recommended.

## Expecting conversion

By using `toml::expect`, you will get your expected value or an error message
Expand Down

0 comments on commit 1bf9e42

Please sign in to comment.