m-mcgowan / spark-flashee-eeprom

Eeprom emulation using external flash on Particle devices. Includes unit tests cross compiled to regular gcc, and on-device integration tests.
GNU Affero General Public License v3.0
34 stars 8 forks source link

integration-tests.cpp won't compile on Ubuntu (auto_ptr is deprecated) #12

Closed nolanhergert closed 9 years ago

nolanhergert commented 9 years ago

FIX (for compiling): Searching around the nets indicates std::unique_ptr is now in favor instead of auto_ptr. It works after that.

There are two files this affects: test/FlashDeviceTest.h and examples/integration-test.cpp

m-mcgowan commented 9 years ago

Thanks for this - if you have it working - could you submit a PR with the change to std::unique_ptr?

nolanhergert commented 9 years ago

Yep! https://github.com/m-mcgowan/spark-flashee-eeprom/pull/17

Hopefully I will have more significant ones in the future :)

m-mcgowan commented 9 years ago

Thanks! PR merged.