debug printout cleanup
[zxing.git] / cpp / core / src / qrcode / decoder / Version.cpp
index 6d265f7..39bbf7c 100644 (file)
@@ -3,7 +3,7 @@
  *  zxing
  *
  *  Created by Christian Brunschen on 14/05/2008.
- *  Copyright 2008 Google Inc. All rights reserved.
+ *  Copyright 2008 ZXing authors All rights reserved.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -166,8 +166,10 @@ namespace qrcode {
         functionPattern->setRegion(dimension - 11, 0, 3, 6);
       }
       
+#ifdef DEBUG
       cout << "version " << versionNumber_ << " built function pattern:\n";
       cout << *functionPattern;
+#endif
       
       return functionPattern;
     }