projects
/
zxing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Began removing the excessive use of exceptions in the 1D readers by drawing
[zxing.git]
/
cpp
/
core
/
src
/
zxing
/
oned
/
OneDResultPoint.cpp
diff --git
a/cpp/core/src/zxing/oned/OneDResultPoint.cpp
b/cpp/core/src/zxing/oned/OneDResultPoint.cpp
index
272319d
..
3e68b66
100644
(file)
--- a/
cpp/core/src/zxing/oned/OneDResultPoint.cpp
+++ b/
cpp/core/src/zxing/oned/OneDResultPoint.cpp
@@
-2,7
+2,6
@@
* OneDResultPoint.cpp
* ZXing
*
* OneDResultPoint.cpp
* ZXing
*
- * Created by Lukasz Warchol on 10-01-20.
* Copyright 2010 ZXing authors All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Copyright 2010 ZXing authors All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-22,18
+21,16
@@
namespace zxing {
namespace oned {
namespace zxing {
namespace oned {
-
- using namespace std;
-
- OneDResultPoint::OneDResultPoint(float posX, float posY) : posX_(posX), posY_(posY){
+
+ OneDResultPoint::OneDResultPoint(float posX, float posY) : posX_(posX), posY_(posY) {
}
}
-
- float OneDResultPoint::getX() {
+
+ float OneDResultPoint::getX()
const
{
return posX_;
}
return posX_;
}
-
- float OneDResultPoint::getY() {
+
+ float OneDResultPoint::getY()
const
{
return posY_;
}
}
return posY_;
}
}
-}
\ No newline at end of file
+}