Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of dgps by
Diff: handle/dataLocation.cpp
- Revision:
- 15:e3e03a9df89e
- Parent:
- 9:da906eeac51e
- Child:
- 27:db73f8ac6c75
diff -r 6be57da62283 -r e3e03a9df89e handle/dataLocation.cpp --- a/handle/dataLocation.cpp Thu Apr 10 02:19:07 2014 +0000 +++ b/handle/dataLocation.cpp Thu Apr 10 05:38:45 2014 +0000 @@ -40,4 +40,7 @@ getI(type)=getI(type,LHIType_size); getI(type,LHIType_size)++; getC(type)=newLoc; -} \ No newline at end of file +} + +static LocHolder* mainLocHolder=NULL; +LocHolder& DH::Locs(){if(mainLocHolder==NULL){mainLocHolder=new LocHolder();}return *mainLocHolder;} \ No newline at end of file