Skip to content

Commit

Permalink
fix spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
pezy committed Jan 2, 2015
1 parent d5d2766 commit 0441511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch12/ex12_17_18.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ int main()

/**
* @brief The code below can compile, but will cause error at run time.
* The reaso is that when the unique_ptr p1 is out of scope, delete will be called
* The reason is that when the unique_ptr p1 is out of scope, delete will be called
* to free th object. But the object is not allocate using new.Thus, an error
* would be thrown by operating system.
* @badcode
Expand Down

0 comments on commit 0441511

Please sign in to comment.