diff options
| author | tholdawa <[email protected]> | 2014-01-14 23:28:58 +0000 |
|---|---|---|
| committer | tholdawa <[email protected]> | 2014-01-14 23:28:58 +0000 |
| commit | d4c5386556fe7cb4b301fc79210dde47962c96b7 (patch) | |
| tree | 0eb23a3911c660f3afb30ce737ef8474d06c9d04 /examples/example6.cpp | |
| parent | Reset line length after encoding a hard line break in QP encoding. (diff) | |
| download | vmime-d4c5386556fe7cb4b301fc79210dde47962c96b7.tar.gz vmime-d4c5386556fe7cb4b301fc79210dde47962c96b7.zip | |
C++11 std::shared_ptr fixes:
Test for C++11 std::shared_ptr was always failing because std::make_shared was
calling a constructor of 1 argument which did not exist for the struct A. Changed
test code snippet to call default no argument constructor of A.
Once C++11 std::shared_ptr support was fixed, contentDispositionField.cpp and
contentTypeField.cpp would not compile because std::shared_ptr cannot be implicitly
cast to bool (i.e. in a return statement). Added explicit cast to bool.
Diffstat (limited to 'examples/example6.cpp')
0 files changed, 0 insertions, 0 deletions
