Began removing the excessive use of exceptions in the 1D readers by drawing
[zxing.git] / cpp / core / src / zxing / oned / OneDResultPoint.cpp
index 272319d..3e68b66 100644 (file)
@@ -2,7 +2,6 @@
  *  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");
 
 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_;
                }
-               
-               float OneDResultPoint::getY() {
+
+               float OneDResultPoint::getY() const {
                        return posY_;
                }
        }
-}
\ No newline at end of file
+}