Commit fca0961d authored by jan.koester's avatar jan.koester
Browse files

test

parent 65483d83
Loading
Loading
Loading
Loading
+9 −47
Changes for CMakeSettings.json: 9 added lines, 47 removed lines.
Original line number Diff line number Diff line
{
  "configurations": [
    {
      "name": "x64-Debug",
      "name": "x64-Release",
      "generator": "Ninja",
      "configurationType": "Debug",
      "inheritEnvironments": [ "msvc_x64_x64" ],
      "configurationType": "RelWithDebInfo",
      "buildRoot": "${projectDir}\\out\\build\\${name}",
      "installRoot": "${projectDir}\\out\\install\\${name}",
      "cmakeCommandArgs": "",
      // Use "installRoot" to define where the project installs files
      "installRoot": "C:/Users/jan.koester/build_blogi/install",
      // The below command line arg is incorrect. Use "cmakeCommandArgs" for general purpose args
      // and "installRoot" for the install prefix specifically.
      "cmakeCommandArgs": "-DCMAKE_PREFIX_PATH=C:/Users/jan.koester/build_blogi/install", 
      "buildCommandArgs": "",
      "ctestCommandArgs": "",
      "variables": [
        {
          "name": "BROTLICOMMON_LIBRARY",
          "value": "C:/Users/jan.koester/source/repos/brotli/out/install/x64-Debug/lib/brotlicommon.lib",
          "type": "FILEPATH"
        },
        {
          "name": "BROTLI_INCLUDE_DIR",
          "value": "C:/Users/jan.koester/source/repos/brotli/out/install/x64-Debug/include",
          "type": "PATH"
        },
        {
          "name": "BROTLIDEC_LIBRARY",
          "value": "C:/Users/jan.koester/source/repos/brotli/out/install/x64-Debug/lib/brotlidec.lib",
          "type": "FILEPATH"
        },
        {
          "name": "BROTLIENC_LIBRARY",
          "value": "C:/Users/jan.koester/source/repos/brotli/out/install/x64-Debug/lib/brotlienc.lib",
          "type": "FILEPATH"
        },
        {
          "name": "smtpclient_DIR",
          "value": "C:/Users/jan.koester/source/repos/CPP-SMTPClient-library/out/install/x64-Debug/lib/cmake/smtpclient",
          "type": "PATH"
        },
        {
          "name": "gameinfoplus_DIR",
          "value": "C:/Users/jan.koester/source/repos/libgameinfoplus/out/install/x64-Debug/lib/cmake/gameinfoplus",
          "type": "PATH"
        },
        {
          "name": "HIREDIS_INCLUDE_DIRS",
          "value": "C:/Users/jan.koester/source/repos/hiredis/out/install/x64-Debug/include",
          "type": "PATH"
        },
        {
          "name": "HIREDIS_LIBRARIES",
          "value": "C:/Users/jan.koester/source/repos/hiredis/out/install/x64-Debug/lib/hiredisd.lib",
          "type": "FILEPATH"
        }
      ]
      "inheritEnvironments": [ "msvc_x64_x64" ],
      // The cache variable below is redundant because installRoot handles the prefix
    }
  ]
}
 No newline at end of file
+1 −1
Changes for src/blogi.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -448,7 +448,7 @@ void blogi::Blogi::sitemapXML(libhttppp::HttpRequest& curreq, const int tid, con

    smap << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
              << "<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">";
    for(auto map : sitemap){
    for(const auto map : sitemap){
         smap << "<url><loc>" << map.first.print() << "</loc>";
         if(map.second!=zero_date)
                smap << "<lastmod>"<< map.second <<"</lastmod>";