Skip to content

Commit

Permalink
Fix issue #223 where in debug builds, cloning a status_code_ptr cause…
Browse files Browse the repository at this point in the history
…s a segfault.
  • Loading branch information
ned14 committed Apr 28, 2020
1 parent 5658bba commit 34f3bd5
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 760 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ osx_image: xcode9
branches:
only:
- develop
- better_optimisation
notifications:
email:
recipients:
Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ version: 2.00.{build}-{branch}
branches:
only:
- develop
- better_optimisation
skip_tags: true

image: Visual Studio 2017
Expand Down
2 changes: 1 addition & 1 deletion doc/html
Submodule html updated 483 files
6 changes: 3 additions & 3 deletions include/outcome/detail/revision.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ Distributed under the Boost Software License, Version 1.0.
*/

// Note the second line of this file must ALWAYS be the git SHA, third line ALWAYS the git SHA update time
#define OUTCOME_PREVIOUS_COMMIT_REF f2fce2dc31cd1050c4693d1eea852a08c98fc164
#define OUTCOME_PREVIOUS_COMMIT_DATE "2020-03-12 10:35:46 +00:00"
#define OUTCOME_PREVIOUS_COMMIT_UNIQUE f2fce2dc
#define OUTCOME_PREVIOUS_COMMIT_REF 5658bbaf1b7f13352ae10f8ec9f80f59146024ec
#define OUTCOME_PREVIOUS_COMMIT_DATE "2020-04-28 08:32:46 +00:00"
#define OUTCOME_PREVIOUS_COMMIT_UNIQUE 5658bbaf
2 changes: 1 addition & 1 deletion include/outcome/experimental/status-code
4 changes: 2 additions & 2 deletions include/outcome/outcome.natvis
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="outcome_v2_f2fce2dc::basic_outcome&lt;*&gt;">
<Type Name="outcome_v2_5658bbaf::basic_outcome&lt;*&gt;">
<DisplayString Condition="(_state._status.status_value &amp; 0xff) == 0">empty</DisplayString>
<DisplayString Condition="(_state._status.status_value &amp; 1) == 1">value {{{_state._value}}}</DisplayString>
<DisplayString Condition="(_state._status.status_value &amp; 2) == 2">error {{{_error}}}</DisplayString>
Expand All @@ -15,7 +15,7 @@
<Item Condition="(_state._status.status_value &amp; 4) == 4" Name="[exception]">_ptr</Item>
</Expand>
</Type>
<Type Name="outcome_v2_f2fce2dc::basic_result&lt;*&gt;">
<Type Name="outcome_v2_5658bbaf::basic_result&lt;*&gt;">
<DisplayString Condition="(_state._status.status_value &amp; 0xff) == 0">empty</DisplayString>
<DisplayString Condition="(_state._status.status_value &amp; 1) == 1">value {{{_state._value}}}</DisplayString>
<DisplayString Condition="(_state._status.status_value &amp; 2) == 2">error {{{_error}}}</DisplayString>
Expand Down
Loading

0 comments on commit 34f3bd5

Please sign in to comment.