[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [brprint3d] /: Fix Bug
From:       Lays Rodrigues <laysrodriguessilva () gmail ! com>
Date:       2015-12-01 1:35:04
Message-ID: E1a3ZqS-0000XT-6R () scm ! kde ! org
[Download RAW message or body]

Git commit dbbd792d8676dd8bf71852c220766af0640eb782 by Lays Rodrigues.
Committed on 01/12/2015 at 01:28.
Pushed by laysrodrigues into branch 'master'.

Fix Bug

Fix buf found by krazy2 - constructos must be declareted
with explicit.

Signed-off-by: Lays Rodrigues <laysrodriguessilva@gmail.com>

M  +1    -1    FilCount.h

http://commits.kde.org/brprint3d/dbbd792d8676dd8bf71852c220766af0640eb782

diff --git a/FilCount.h b/FilCount.h
index 051a11c..e09bf2a 100644
--- a/FilCount.h
+++ b/FilCount.h
@@ -35,7 +35,7 @@ private:
     FILE *GCode;
     double totalSize;
 public:
-    FilCount(std::string filePath) throw (std::string);
+    explicit FilCount(std::string filePath) throw (std::string);
     ~FilCount();
     /*=================== getTotalSize() ==========================
         Return used filament in milimeters.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic