gcc const fix, converted linefeeds
[shibboleth/cpp-xmltooling.git] / xmltooling / util / NDC.cpp
index 966fb30..2867a4c 100644 (file)
@@ -1,43 +1,43 @@
-/*\r
- *  Copyright 2001-2006 Internet2\r
- * \r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- *     http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- */\r
-\r
-/**\r
- * NDC.cpp\r
- * \r
- * Diagnostic context for logging \r
- */\r
-\r
-#include "internal.h"\r
-#include "util/NDC.h"\r
-\r
-#include <log4cpp/NDC.hh>\r
-\r
-using namespace xmltooling;\r
-\r
-NDC::NDC(const char* context)\r
-{\r
-    log4cpp::NDC::push(context);\r
-}\r
-\r
-NDC::NDC(const std::string& context)\r
-{\r
-    log4cpp::NDC::push(context);\r
-}\r
-\r
-NDC::~NDC()\r
-{\r
-    log4cpp::NDC::pop();\r
-}\r
+/*
+ *  Copyright 2001-2006 Internet2
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * NDC.cpp
+ * 
+ * Diagnostic context for logging 
+ */
+
+#include "internal.h"
+#include "util/NDC.h"
+
+#include <log4cpp/NDC.hh>
+
+using namespace xmltooling;
+
+NDC::NDC(const char* context)
+{
+    log4cpp::NDC::push(context);
+}
+
+NDC::NDC(const std::string& context)
+{
+    log4cpp::NDC::push(context);
+}
+
+NDC::~NDC()
+{
+    log4cpp::NDC::pop();
+}