xo-unit: bugfix: xo::obs -> xo::unit in examples
This commit is contained in:
parent
4446fc3e1e
commit
7432d3798c
3 changed files with 7 additions and 7 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
int
|
int
|
||||||
main () {
|
main () {
|
||||||
namespace qty = xo::obs::qty;
|
namespace qty = xo::unit::qty;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
auto t = qty::milliseconds(10);
|
auto t = qty::milliseconds(10);
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@
|
||||||
|
|
||||||
int
|
int
|
||||||
main () {
|
main () {
|
||||||
namespace u = xo::obs::units;
|
namespace u = xo::unit::units;
|
||||||
namespace qty = xo::obs::qty;
|
namespace qty = xo::unit::qty;
|
||||||
using xo::obs::quantity;
|
using xo::unit::quantity;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
quantity<u::second> t = qty::milliseconds(10);
|
quantity<u::second> t = qty::milliseconds(10);
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@
|
||||||
|
|
||||||
int
|
int
|
||||||
main () {
|
main () {
|
||||||
namespace u = xo::obs::units;
|
namespace u = xo::unit::units;
|
||||||
namespace qty = xo::obs::qty;
|
namespace qty = xo::unit::qty;
|
||||||
using xo::obs::quantity;
|
using xo::unit::quantity;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
auto t1 = qty::milliseconds(1);
|
auto t1 = qty::milliseconds(1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue