[cig-commits] [commit] master: Remove unused code (68eb092)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue Oct 21 16:27:40 PDT 2014
Repository : https://github.com/geodynamics/vc
On branch : master
Link : https://github.com/geodynamics/vc/compare/64c223c129f70f3916341f1ebdf52f6d2ae1deae...de41758e125fcac4ea5fb0935597c3b662ff523c
>---------------------------------------------------------------
commit 68eb092857d52b0b5347572f5dc93ece81dae414
Author: Eric Heien <emheien at ucdavis.edu>
Date: Tue Oct 21 16:11:44 2014 -0700
Remove unused code
>---------------------------------------------------------------
68eb092857d52b0b5347572f5dc93ece81dae414
src/core/SimError.h | 41 -----------------------------------------
1 file changed, 41 deletions(-)
diff --git a/src/core/SimError.h b/src/core/SimError.h
deleted file mode 100644
index c34090d..0000000
--- a/src/core/SimError.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2012-2014 Eric M. Heien, Michael K. Sachs, John B. Rundle
-//
-// Permission is hereby granted, free of charge, to any person obtaining a
-// copy of this software and associated documentation files (the "Software"),
-// to deal in the Software without restriction, including without limitation
-// the rights to use, copy, modify, merge, publish, distribute, sublicense,
-// and/or sell copies of the Software, and to permit persons to whom the
-// Software is furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-// DEALINGS IN THE SOFTWARE.
-
-#include <exception>
-#include <string>
-
-#ifndef _SIM_ERROR_H_
-#define _SIM_ERROR_H_
-
-class VCException : public std::exception {
- private:
- std::string err_msg;
-
- public:
- VCException(std::string _err_msg) : err_msg(_err_msg) {}
- ~VCException(void) throw() {};
-
- virtual const char *what() const throw() {
- return err_msg.c_str();
- }
-};
-
-
-#endif
More information about the CIG-COMMITS
mailing list